Product Chat / Any way to show non-latin characters?

Author
Message
Alexander Pozharskii
9
Years of Service
User Offline
Joined: 5th Oct 2014
Location:
Posted: 7th Feb 2015 00:03 Edited at: 7th Feb 2015 03:04
I need to generatefont with cyrillic subset.

I used "Bitmap Font Generator" , that has next output "format"







After it - I converted it by python script (see attachments)

As result - I have next "format"



Full code in attacment.

After it, I replaced files in "fontbank".

When I trying to "Test level" - it successfully shows latin characters by "Prompt", but shows nothing while trying to show cyrillic characters.

What I'm doing wrong?



p.s. script that must show cyrillic message saved in "windows-1251" encoding, I trying to find characters by code in "fnt" files, and all needed characters described, but not showing.



upd. Also, I know about naming error in script. As you can see in attachment - I renamed *.fnt files manually.



upd2. Strange, but now it seems like work. Maybe I doing anything uncorrect early, or I needed to restart Creator (silly hypotesis - in my opinion, game must be initialized separatelly, but I haven't other ideas)

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-05-03 23:02:21
Your offset time is: 2024-05-03 23:02:21