Fix the Japanese glyph range; include Punctuations

ref. #156 https://github.com/ocornut/imgui/issues/156
This commit is contained in:
Usagi Ito 2015-03-08 22:23:52 +09:00
parent d251204564
commit c9bfd71e1a
1 changed files with 1 additions and 1 deletions

View File

@ -7611,7 +7611,7 @@ const ImWchar* ImFontAtlas::GetGlyphRangesJapanese()
static ImWchar ranges[10 + IM_ARRAYSIZE(offsets_from_0x4E00)*2 + 1] =
{
0x0020, 0x00FF, // Basic Latin + Latin Supplement
0x3000, 0x3000, // Ideographic Space
0x3000, 0x303F, // Ideographic Space, Japanese Punctuations
0x3040, 0x30FF, // Hiragana, Katakana
0x31F0, 0x31FF, // Katakana Phonetic Extensions
0xFF00, 0xFFEF, // Half-width characters