I'm trying to make the engine display text in cyrilic (russian) alphabet (TTF font) without success. Is it possible at all? I'm using unicode txt file that opens nice in notepad, but when i try to read the strings and display them in the engine all I get is trash. Is it possible at all?
I haven't tried it yet, but you should be able to display cyrillic text - but not with unicode. You must use ASCII. Choose a cyrillic font that maps the cyrillic alphabet onto the 256 ASCII characters. Unicode uses short integers for characters, which won't work here because a char is only a byte.
Hi, I also made cyrilic serbian font. You really need to place special characters to places which you are not using for sure like W, Q and some signs. Thats the only way unforunatelly.
The only reason for your problem may be the reading from file, because engine displays russian letters from ttf fonts correctly - my ingame menu is in russian and works ok