diff --git a/src/try_engine/gui/style/fonts.hpp b/src/try_engine/gui/style/fonts.hpp index 76bc24d..fe30365 100644 --- a/src/try_engine/gui/style/fonts.hpp +++ b/src/try_engine/gui/style/fonts.hpp @@ -12,7 +12,7 @@ namespace try_engine::style::fonts // HERE // эту порнографию с путями нужно решить - inline const std::string PATH = "/mnt/develop/projects/cpp/fonmix/emuse.v.2.0.0/src/core/internal/"; + inline const std::string PATH = "/mnt/develop/projects/cpp/try_engine/src/try_engine/internal"; inline void init() { @@ -20,7 +20,7 @@ namespace try_engine::style::fonts float size_pixels = 16.0f; static const ImWchar icon_ranges[] = { ICON_MIN_FK, ICON_MAX_FK, 0 }; - io.Fonts->AddFontFromFileTTF((PATH + std::string("/fonts/Monserrat/static/Montserrat-Italic.ttf")).c_str(), size_pixels, NULL, io.Fonts->GetGlyphRangesCyrillic()); + io.Fonts->AddFontFromFileTTF((PATH + std::string("/fonts/Montserrat/static/Montserrat-Italic.ttf")).c_str(), size_pixels, NULL, io.Fonts->GetGlyphRangesCyrillic()); io.Fonts->AddFontFromFileTTF((PATH + std::string("/fonts/Ruda/Ruda-Regular.ttf")).c_str(), size_pixels * .25f, NULL, io.Fonts->GetGlyphRangesCyrillic()); io.Fonts->AddFontFromFileTTF((PATH + std::string("/fonts/Ruda/Ruda-Regular.ttf")).c_str(), size_pixels * .5f, NULL, io.Fonts->GetGlyphRangesCyrillic()); io.Fonts->AddFontFromFileTTF((PATH + std::string("/fonts/Ruda/Ruda-Regular.ttf")).c_str(), size_pixels * .75f, NULL, io.Fonts->GetGlyphRangesCyrillic());