mirror of
https://github.com/ocornut/imgui.git
synced 2025-04-14 01:00:41 +00:00
Fixed GetGlyphRangesJapanese() actually missing Katakanas glyphs.
This commit is contained in:
parent
fe48562171
commit
441679d9d4
1 changed files with 2 additions and 2 deletions
|
@ -7379,7 +7379,7 @@ const ImWchar* ImFontAtlas::GetGlyphRangesChinese()
|
|||
static const ImWchar ranges[] =
|
||||
{
|
||||
0x0020, 0x00FF, // Basic Latin + Latin Supplement
|
||||
0x3040, 0x309F, // Hiragana, Katakana
|
||||
0x3040, 0x30FF, // Hiragana, Katakana
|
||||
0xFF00, 0xFFEF, // Half-width characters
|
||||
0x4e00, 0x9FAF, // CJK Ideograms
|
||||
0,
|
||||
|
@ -7430,7 +7430,7 @@ const ImWchar* ImFontAtlas::GetGlyphRangesJapanese()
|
|||
static ImWchar ranges[6 + 1 + IM_ARRAYSIZE(offsets_from_0x4E00)*2] =
|
||||
{
|
||||
0x0020, 0x00FF, // Basic Latin + Latin Supplement
|
||||
0x3040, 0x309F, // Hiragana, Katakana
|
||||
0x3040, 0x30FF, // Hiragana, Katakana
|
||||
0xFF00, 0xFFEF, // Half-width characters
|
||||
0,
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue