Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Windows / Cyrillic alphabet problem

Author
Message
marcovestil
6
Years of Service
User Offline
Joined: 3rd Aug 2012
Location:
Posted: 23rd Feb 2014 13:18 Edited at: 24th Feb 2014 17:52
I have a problem with displaying Cyrillic alphabet.
The output is , original text is "абвгдеёжзийклмноп".

who knows the solution?
thank you in advance.
Ancient Lady
Valued Member
15
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 24th Feb 2014 00:14
How are you handling the text?

There are commands for creating extended fonts, but it would help to see how you are working with text.

AGK by default works with the basic English alphabet and some characters, but does not handle multi-language automatically (or respond to language settings in Windows).

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master
marcovestil
6
Years of Service
User Offline
Joined: 3rd Aug 2012
Location:
Posted: 24th Feb 2014 18:41
function "SetTextFontImage" helped me, but i don't understand how creat and use "subimages.txt", what mean parameters as this "32:0:0:19:42". Can you help me?

excuse me for my english, I'm russian.

thank.
Ancient Lady
Valued Member
15
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 26th Feb 2014 03:44
The format for each line is:
ascii character code:start x:start y:width:height

Creating the file requires any image editor that lets you put the characters you want into. You want to make the letters white (to allow coloring them dynamically) and save as a png file with no background behind the letters.

You can also do extended fonts. For both the regular (ascii codes 0 to 127 allowed) and the extended (ascii codes 128 to 255 allowed), you use the SetTextFontImage and SetExtendedFontImage, respectively.

Your English is fine. Certainly far better than any attempt of mine at Russian.

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master

Login to post a reply

Server time is: 2019-05-26 00:48:11
Your offset time is: 2019-05-26 00:48:11