From f15160412a74d3bcd490c11aa1e9c2c2d82c2a09 Mon Sep 17 00:00:00 2001 From: sanderd17 Date: Fri, 9 May 2014 12:13:42 +0000 Subject: [PATCH] Enlarge the ideographic ranges in the word boundaries, fixes Japanese rendering a bit This was SVN commit r15138. --- source/gui/GUItext.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/gui/GUItext.cpp b/source/gui/GUItext.cpp index 04bf0c3c6d..fa5333e482 100644 --- a/source/gui/GUItext.cpp +++ b/source/gui/GUItext.cpp @@ -37,8 +37,8 @@ static const int NUM_WORD_DELIMITORS = 4*2; static const u16 WordDelimitors[NUM_WORD_DELIMITORS] = { ' ' , ' ', // spaces '-' , '-', // hyphens - 0x3000, 0x3002, // ideographic symbols (maybe this range should be wider) - 0x4E00, 0x9FFF // characters in the Chinese unicode block + 0x3000, 0x31FF, // ideographic symbols + 0x3400, 0x9FFF // TODO add unicode blocks of other languages that don't use spaces };