diff options
author | David Kocik <kocikdav@gmail.com> | 2022-01-20 14:30:17 +0300 |
---|---|---|
committer | David Kocik <kocikdav@gmail.com> | 2022-01-20 16:17:02 +0300 |
commit | 86c49163f8538823e195ff46f87a405e33c95926 (patch) | |
tree | f79d3e8e36456277d7d9dec6b84f65725a931904 /src/slic3r/GUI/ImGuiWrapper.cpp | |
parent | f5364a6f177f99c7a6166f8e1342905a60fd70aa (diff) |
latin-2 for Hungarian in imgui
#5479
Diffstat (limited to 'src/slic3r/GUI/ImGuiWrapper.cpp')
-rw-r--r-- | src/slic3r/GUI/ImGuiWrapper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slic3r/GUI/ImGuiWrapper.cpp b/src/slic3r/GUI/ImGuiWrapper.cpp index e1563156b..c06c6156e 100644 --- a/src/slic3r/GUI/ImGuiWrapper.cpp +++ b/src/slic3r/GUI/ImGuiWrapper.cpp @@ -141,7 +141,7 @@ void ImGuiWrapper::set_language(const std::string &language) 0, }; m_font_cjk = false; - if (lang == "cs" || lang == "pl") { + if (lang == "cs" || lang == "pl" || lang == "hu") { ranges = ranges_latin2; } else if (lang == "ru" || lang == "uk") { ranges = ImGui::GetIO().Fonts->GetGlyphRangesCyrillic(); // Default + about 400 Cyrillic characters |