From 3185a3a6975ba702e6f3d141375b50830a1b947b Mon Sep 17 00:00:00 2001 From: Adisorn Aeksatean Date: Sat, 28 Oct 2017 16:59:39 +0700 Subject: [PATCH 1/2] Add missing thai punctuations --- imgui_draw.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/imgui_draw.cpp b/imgui_draw.cpp index 8735e3fc..c0eb09e7 100644 --- a/imgui_draw.cpp +++ b/imgui_draw.cpp @@ -1955,6 +1955,7 @@ const ImWchar* ImFontAtlas::GetGlyphRangesThai() static const ImWchar ranges[] = { 0x0020, 0x00FF, // Basic Latin + 0x2000, 0x206F, // Punctuations 0x0E00, 0x0E7F, // Thai 0, }; From 53f9e28c77ab404e8cc7deeb0e2c5ec7fca999ea Mon Sep 17 00:00:00 2001 From: omar Date: Sun, 29 Oct 2017 11:28:29 +0100 Subject: [PATCH 2/2] GetGlyphRangesThai(): removed extraneous codepoints (#1396) --- imgui_draw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui_draw.cpp b/imgui_draw.cpp index c0eb09e7..56cb4b6a 100644 --- a/imgui_draw.cpp +++ b/imgui_draw.cpp @@ -1955,7 +1955,7 @@ const ImWchar* ImFontAtlas::GetGlyphRangesThai() static const ImWchar ranges[] = { 0x0020, 0x00FF, // Basic Latin - 0x2000, 0x206F, // Punctuations + 0x2010, 0x205E, // Punctuations 0x0E00, 0x0E7F, // Thai 0, };