Font problem
by Igor Kuryatnikov · in Torque Game Builder · 08/31/2006 (4:23 am) · 2 replies
There is a problem:
I'm using non english charcters with codes 128-255. But they did not properly displayed (just rectangles displayed) when I store strings in script files. But they displayed when I execute function (here is setText()) in console.
populateAllFontCacheRange(1, 255); has no effect.
Changing fonts take no effect too. (From console it's still ok)
How to Fix this problem?
Thanks very much!
I'm using non english charcters with codes 128-255. But they did not properly displayed (just rectangles displayed) when I store strings in script files. But they displayed when I execute function (here is setText()) in console.
populateAllFontCacheRange(1, 255); has no effect.
Changing fonts take no effect too. (From console it's still ok)
How to Fix this problem?
Thanks very much!
About the author
#2
It seems problem is how the compiled script files saved to disk.
I can write everything from console, but can't if text saved in script in any form (like parameter string, in variable)
The question is: how to save the string in script file in unicode format?
08/31/2006 (10:46 pm)
I'm sure I've used unicode fonts.It seems problem is how the compiled script files saved to disk.
I can write everything from console, but can't if text saved in script in any form (like parameter string, in variable)
The question is: how to save the string in script file in unicode format?
Torque Owner Michael Woerister