From 9adf67f0958eccddd52f27dc61713b3c222f3dce Mon Sep 17 00:00:00 2001 From: Stone Li Date: Tue, 13 Sep 2022 10:16:36 +0800 Subject: [PATCH] FIX: add more utf8 chars to support language hu Change-Id: I65c9ed7cac13f28e077f42f2ae214a5d56d28bd0 Signed-off-by: Stone Li --- src/imgui/imgui_draw.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/imgui/imgui_draw.cpp b/src/imgui/imgui_draw.cpp index 39863e709..77d1babbf 100644 --- a/src/imgui/imgui_draw.cpp +++ b/src/imgui/imgui_draw.cpp @@ -2811,7 +2811,7 @@ const ImWchar* ImFontAtlas::GetGlyphRangesDefault() { static const ImWchar ranges[] = { - 0x0020, 0x00FF, // Basic Latin + Latin Supplement + 0x0020, 0x01FF, // Basic Latin + Latin Supplement 0x2000, 0x206F, // General Punctuation 0x3000, 0x30FF, // CJK Symbols and Punctuations, Hiragana, Katakana 0x31F0, 0x31FF, // Katakana Phonetic Extensions @@ -2915,7 +2915,7 @@ const ImWchar* ImFontAtlas::GetGlyphRangesChineseSimplifiedCommon() }; static ImWchar base_ranges[] = // not zero-terminated { - 0x0020, 0x00FF, // Basic Latin + Latin Supplement + 0x0020, 0x01FF, // Basic Latin + Latin Supplement 0x2000, 0x206F, // General Punctuation 0x3000, 0x30FF, // CJK Symbols and Punctuations, Hiragana, Katakana 0x31F0, 0x31FF, // Katakana Phonetic Extensions