mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-15 13:45:57 +08:00
hungarian glyphs
This commit is contained in:
parent
7fd784a476
commit
49a0c6e78d
@ -144,6 +144,12 @@ void ImGuiWrapper::set_language(const std::string &language)
|
||||
0x0180, 0x01FF, // Turkish
|
||||
0,
|
||||
};
|
||||
static const ImWchar ranges_hungarian[] = {
|
||||
0x0020, 0x01FF, // Basic Latin + Latin Supplement
|
||||
0x2011, 0x20AC, // hungarian
|
||||
0x27E8, 0x27E9, // hungarian
|
||||
0,
|
||||
};
|
||||
static const ImWchar ranges_vietnamese[] =
|
||||
{
|
||||
0x0020, 0x00FF, // Basic Latin
|
||||
@ -165,6 +171,8 @@ void ImGuiWrapper::set_language(const std::string &language)
|
||||
ranges = ranges_turkish;
|
||||
} else if (lang == "vi") {
|
||||
ranges = ranges_vietnamese;
|
||||
} else if (lang == "hu") {
|
||||
ranges = ranges_hungarian;
|
||||
} else if (lang == "ja") {
|
||||
ranges = ImGui::GetIO().Fonts->GetGlyphRangesJapanese(); // Default + Hiragana, Katakana, Half-Width, Selection of 1946 Ideographs
|
||||
m_font_cjk = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user