Fixed unicode rendering bug
parent
233f5a7c59
commit
45bee618f9
|
@ -677,7 +677,7 @@ void CText::DrawCharAndAdjustPos(UTF8Char ch, FontType font, float size, Math::P
|
|||
return;
|
||||
|
||||
int width = 1;
|
||||
if (ch.c1 < 32) { // FIXME add support for chars with code 9 10 23
|
||||
if (ch.c1 > 0 && ch.c1 < 32) { // FIXME add support for chars with code 9 10 23
|
||||
ch.c1 = ' ';
|
||||
ch.c2 = 0;
|
||||
ch.c3 = 0;
|
||||
|
|
Loading…
Reference in New Issue