Cyrillic support
Moderator: OpenTTD Developers
Cyrillic support
Previously cyrillic glyphs was supported with newgrf file by replacing top half of latin characters, but with UTF8 merging in branch all cyrillic glyphs renders as «?» — how to add cyrillic support to code now?
Either by replacing the correct characters, if I'm correct the U+0400 to U+052F range instead of the top range of latin characters. Another solution is by using standard fonts, but you need to have OTTD compiled with freetype support. This can be done by setting {small,medium,large}_font in openttd.cfg (either the path to the font or the font family name if you've compiled with fontconfig.
Here is a NewGRF that adds support for cyrillic glyphs using the unicode range.
http://fuzzle.org/o/russianw.grf
http://fuzzle.org/o/russianw.grf
He's like, some kind of OpenTTD developer.
Btw i prefer freetype to cyrillic glyphs, and found good font (that supports cyr letters too, ofc) - bold verdana (size 10), perfect for tycoon medium font. But can't find good replacement for small and large fonts. Does anyone has variants? Standard fonts are preferred, ofc...
P.S. I play eng version but needed some way to communicate with others using cyr font, so for me medium-size is more than enough... but not for others
And some advices about compiling with freetype support - http://www.tt-forums.net/viewtopic.php?t=28455
P.S. I play eng version but needed some way to communicate with others using cyr font, so for me medium-size is more than enough... but not for others
And some advices about compiling with freetype support - http://www.tt-forums.net/viewtopic.php?t=28455
- It's hot as hell in here.
- You see it too? For me, it's always like this.
-------------------
ICQ: 302028069
Jabber: DarkFenX@jabber.org
- You see it too? For me, it's always like this.
-------------------
ICQ: 302028069
Jabber: DarkFenX@jabber.org
Who is online
Users browsing this forum: No registered users and 45 guests