I need to generatefont with cyrillic subset.
I used "Bitmap Font Generator" , that has next output "format"
info face="Arial" size=12 bold=0 italic=0 charset="RUSSIAN" unicode=0 stretchH=100 smooth=1 aa=1 padding=0,0,0,0 spacing=1,1 outline=0
common lineHeight=12 base=9 scaleW=1024 scaleH=1024 pages=1 packed=0 alphaChnl=0 redChnl=0 greenChnl=0 blueChnl=0
page id=0 file="font12_0.png"
chars count=191
char id=32 x=154 y=13 width=3 height=12 xoffset=-1 yoffset=0 xadvance=3 page=0 chnl=15
char id=33 x=170 y=13 width=3 height=12 xoffset=0 yoffset=0 xadvance=3 page=0 chnl=15
char id=34 x=162 y=13 width=3 height=12 xoffset=0 yoffset=0 xadvance=3 page=0 chnl=15
After it - I converted it by python script (see attachments)
As result - I have next "format"
32:154:13:3:12
33:170:13:3:12
34:162:13:3:12
35:234:0:7:12
36:832:0:5:12
37:102:0:8:12
38:457:0:6:12
39:206:13:2:12
40:174:13:3:12
...
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)