src/Text.cpp
bool is_breaking_asian_glyph(wchar_t ch)
        {
            return (ch >= 0x3040 && ch <= 0x3096) || // Hiragana
                   (ch >= 0x30a0 && ch <= 0x30fa) || // Katakana
                   (ch >= 0x4e00 && ch <= 0x9fff) || // CJK Unfied Ideographs
                   (ch >= 0x3400 && ch <= 0x4db5);   // CJK Unified Ideographs Extension A
        }
// Just a very simple heuristic that should make Chinese and Japanese text working in most
// of the cases.
Just a very simple heuristic that should make Chinese and Japanese text working in most
of the cases.
Just a very simple heuristic that should make Chinese and Japanese text working in most of the cases .
bool is_breaking_asian_glyph(wchar_t ch)
        {
            return (ch >= 0x3040 && ch <= 0x3096) || 
                   (ch >= 0x30a0 && ch <= 0x30fa) || 
                   (ch >= 0x4e00 && ch <= 0x9fff) || 
                   (ch >= 0x3400 && ch <= 0x4db5);   
        }
bool is_breaking_asian_glyph ( wchar_t ch ) { return ( ch >= 0x3040 && ch <= 0x3096 ) || ( ch >= 0x30a0 && ch <= 0x30fa ) || ( ch >= 0x4e00 && ch <= 0x9fff ) || ( ch >= 0x3400 && ch <= 0x4db5 ) ; }
Just a very simple heuristic that should make Chinese and Japanese text working in most
of the cases.
Just a very simple heuristic that should make Chinese and Japanese text working in most of the cases .
// Hiragana // Katakana // CJK Unfied Ideographs // CJK Unified Ideographs Extension A