Browse Source

DrawString: Fix IsCJK definition

Fix IsCJK to include Hiragana, Katakana, Bopomofo, etc.
pull/3627/head
Gleb Mazovetskiy 4 years ago committed by Anders Jenbo
parent
commit
1de202cfe0
  1. 2
      Source/engine/render/text_render.cpp

2
Source/engine/render/text_render.cpp

@ -114,7 +114,7 @@ uint16_t GetUnicodeRow(char32_t codePoint)
bool IsCJK(uint16_t row)
{
return row >= 0x4e && row <= 0x9f;
return row >= 0x30 && row <= 0x9f;
}
bool IsHangul(uint16_t row)

Loading…
Cancel
Save