Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,014 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
cyrilic (russian) alphabet #126535
04/26/07 09:26
04/26/07 09:26
Joined: Oct 2005
Posts: 57
P
picoder Offline OP
Junior Member
picoder  Offline OP
Junior Member
P

Joined: Oct 2005
Posts: 57
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.

Re: cyrilic (russian) alphabet [Re: picoder] #126536
04/26/07 09:51
04/26/07 09:51
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
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.

Re: cyrilic (russian) alphabet [Re: picoder] #126537
04/26/07 11:20
04/26/07 11:20
Joined: Sep 2003
Posts: 1,037
Budapest, Hungary
DEX Offline
Serious User
DEX  Offline
Serious User

Joined: Sep 2003
Posts: 1,037
Budapest, Hungary
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.


DEXSOFT-GAMES.COM
Re: cyrilic (russian) alphabet [Re: DEX] #126538
04/27/07 16:58
04/27/07 16:58
Joined: Oct 2006
Posts: 873
S
Shadow969 Offline
User
Shadow969  Offline
User
S

Joined: Oct 2006
Posts: 873
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


Moderated by  old_bill, Tobias 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1