From c9bfd71e1a8edcf7054dcac7779b53f2831113bc Mon Sep 17 00:00:00 2001 From: Usagi Ito Date: Sun, 8 Mar 2015 22:23:52 +0900 Subject: [PATCH] Fix the Japanese glyph range; include Punctuations ref. #156 https://github.com/ocornut/imgui/issues/156 --- imgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui.cpp b/imgui.cpp index 7791730b..4e4d047b 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -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