cyrilic (russian) alphabet

Posted By: picoder

cyrilic (russian) alphabet - 04/26/07 09:26

Hi,

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?

thanks.
Posted By: jcl

Re: cyrilic (russian) alphabet - 04/26/07 09:51

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.
Posted By: DEX

Re: cyrilic (russian) alphabet - 04/26/07 11:20

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.
Posted By: Shadow969

Re: cyrilic (russian) alphabet - 04/27/07 16:58

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
© 2024 lite-C Forums