From 940fa117023ff17d6f2f497d742ec9a94bda6350 Mon Sep 17 00:00:00 2001 From: YuSanka Date: Fri, 2 Jun 2023 16:53:05 +0200 Subject: [PATCH] Imgui: Fixed using of Fonts->GetGlyphRangesCyrillic() for BE dictionary --- src/slic3r/GUI/ImGuiWrapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/ImGuiWrapper.cpp b/src/slic3r/GUI/ImGuiWrapper.cpp index ebcd85043..1a800eee4 100644 --- a/src/slic3r/GUI/ImGuiWrapper.cpp +++ b/src/slic3r/GUI/ImGuiWrapper.cpp @@ -177,7 +177,7 @@ void ImGuiWrapper::set_language(const std::string &language) m_font_cjk = false; if (lang == "cs" || lang == "pl" || lang == "hu") { ranges = ranges_latin2; - } else if (lang == "ru" || lang == "uk") { + } else if (lang == "ru" || lang == "uk" || lang == "be") { ranges = ImGui::GetIO().Fonts->GetGlyphRangesCyrillic(); // Default + about 400 Cyrillic characters } else if (lang == "tr") { ranges = ranges_turkish;