
so... RE: unicode
Moderator: OpenTTD Developers
- PouncingAnt
- Transport Coordinator
- Posts: 357
- Joined: 09 Nov 2004 22:33
so... RE: unicode
I've been noticing some changes to the fonts etc. in the nightly change log. Are the changes going in such a direction as to enable Japanese language? (I've resigned myself to the fact my programming skills are still not good enough for OTTD, but translating I can do) 

NB: the below challenges are still open for submission, so feel free to perform necromancy on them!
Try the PouncingAnt National Monopoly Challenge
Or even better, the PouncingAnt National Monopoly Challenge 2
Or better still, the PouncingAnt National Monopoly Challenge 3
Or, the PouncingAnt National Monopoly Challenge 4
Or try my scenario instead!
-(A lazy) OpenTTD Japanese Translator-
-(A lazy) PNGcodec user-
"You get what you pay for, so pay attention!"
Patches:
Company Station Stats
Try the PouncingAnt National Monopoly Challenge
Or even better, the PouncingAnt National Monopoly Challenge 2
Or better still, the PouncingAnt National Monopoly Challenge 3
Or, the PouncingAnt National Monopoly Challenge 4
Or try my scenario instead!
-(A lazy) OpenTTD Japanese Translator-
-(A lazy) PNGcodec user-
"You get what you pay for, so pay attention!"
Patches:
Company Station Stats
Well from what I've seen the UTF-8 branch has been merged, which should make way for non latin character sets such as the Japanese, Chinese, Russian, and quite a few more too!
However I don't think the webtranslater2 has been upgraded to UTF-8 yet... though i might be wrong.
However I don't think the webtranslater2 has been upgraded to UTF-8 yet... though i might be wrong.
We Am De Best
Host of ThroughTheTube site
Host of ThroughTheTube site
The webtranslator2 already supports UTF-8; this can be seen by the fact that Ukrainian is supported, which certainly does not use Latin characters.Sacro wrote:However I don't think the webtranslater2 has been upgraded to UTF-8 yet... though i might be wrong.
Japanese should not be a problem, just request a webtranslator account and you can start translating.
- PouncingAnt
- Transport Coordinator
- Posts: 357
- Joined: 09 Nov 2004 22:33
many thanks people! I shall get to it shortly. I have my exams early next month though, so we'll see
NB: the below challenges are still open for submission, so feel free to perform necromancy on them!
Try the PouncingAnt National Monopoly Challenge
Or even better, the PouncingAnt National Monopoly Challenge 2
Or better still, the PouncingAnt National Monopoly Challenge 3
Or, the PouncingAnt National Monopoly Challenge 4
Or try my scenario instead!
-(A lazy) OpenTTD Japanese Translator-
-(A lazy) PNGcodec user-
"You get what you pay for, so pay attention!"
Patches:
Company Station Stats
Try the PouncingAnt National Monopoly Challenge
Or even better, the PouncingAnt National Monopoly Challenge 2
Or better still, the PouncingAnt National Monopoly Challenge 3
Or, the PouncingAnt National Monopoly Challenge 4
Or try my scenario instead!
-(A lazy) OpenTTD Japanese Translator-
-(A lazy) PNGcodec user-
"You get what you pay for, so pay attention!"
Patches:
Company Station Stats
Characters
I would like to ask the DEVs, how will be the text drawed in the future (my question is about Czech characters, like Č, Ř, Ů, which are not supported by current font).
If the text will be rendered via current graphics fonts, I would like to participate for drawing Czech characters (ane maybe some ohters) for OTTD.
BTW: small bug about Unicode (in nightly build) - try to save game with non-ASCII<128 characters to the non-Unicode-filesystem. Unicode name from the game gets not converted to the target filesystem charset (Windows, primary CP-1250), but I hope that it will be fixed in the future :)
If the text will be rendered via current graphics fonts, I would like to participate for drawing Czech characters (ane maybe some ohters) for OTTD.
BTW: small bug about Unicode (in nightly build) - try to save game with non-ASCII<128 characters to the non-Unicode-filesystem. Unicode name from the game gets not converted to the target filesystem charset (Windows, primary CP-1250), but I hope that it will be fixed in the future :)
- PouncingAnt
- Transport Coordinator
- Posts: 357
- Joined: 09 Nov 2004 22:33
I dont believe graphic fonts came into it. Imagine drawing all the japanese characters by hand :S would be a mighty task, I'm sure!
EDIT: additionally I cant get the windows japanese input system to work with OTTD. But thats not the hugest problem in the world
EDIT: additionally I cant get the windows japanese input system to work with OTTD. But thats not the hugest problem in the world

NB: the below challenges are still open for submission, so feel free to perform necromancy on them!
Try the PouncingAnt National Monopoly Challenge
Or even better, the PouncingAnt National Monopoly Challenge 2
Or better still, the PouncingAnt National Monopoly Challenge 3
Or, the PouncingAnt National Monopoly Challenge 4
Or try my scenario instead!
-(A lazy) OpenTTD Japanese Translator-
-(A lazy) PNGcodec user-
"You get what you pay for, so pay attention!"
Patches:
Company Station Stats
Try the PouncingAnt National Monopoly Challenge
Or even better, the PouncingAnt National Monopoly Challenge 2
Or better still, the PouncingAnt National Monopoly Challenge 3
Or, the PouncingAnt National Monopoly Challenge 4
Or try my scenario instead!
-(A lazy) OpenTTD Japanese Translator-
-(A lazy) PNGcodec user-
"You get what you pay for, so pay attention!"
Patches:
Company Station Stats
- PouncingAnt
- Transport Coordinator
- Posts: 357
- Joined: 09 Nov 2004 22:33
alas, I wanted to play around with the language file format, but my strgen gave me errors for the latest english.txt, so I built strgen from the svn version, and still no luck.
englisht.txt(0): FATAL: cannot open file
englisht.txt(0): FATAL: cannot open file

NB: the below challenges are still open for submission, so feel free to perform necromancy on them!
Try the PouncingAnt National Monopoly Challenge
Or even better, the PouncingAnt National Monopoly Challenge 2
Or better still, the PouncingAnt National Monopoly Challenge 3
Or, the PouncingAnt National Monopoly Challenge 4
Or try my scenario instead!
-(A lazy) OpenTTD Japanese Translator-
-(A lazy) PNGcodec user-
"You get what you pay for, so pay attention!"
Patches:
Company Station Stats
Try the PouncingAnt National Monopoly Challenge
Or even better, the PouncingAnt National Monopoly Challenge 2
Or better still, the PouncingAnt National Monopoly Challenge 3
Or, the PouncingAnt National Monopoly Challenge 4
Or try my scenario instead!
-(A lazy) OpenTTD Japanese Translator-
-(A lazy) PNGcodec user-
"You get what you pay for, so pay attention!"
Patches:
Company Station Stats
As peter said, either through sprites or by using the appropiate font if you specify anymkxx wrote:I would like to ask the DEVs, how will be the text drawed in the future (my question is about Czech characters, like È, Ø, Ù, which are not supported by current font).
Yes, this is known, we already have this working locally but needs cleanup to go into SVN.mkxx wrote:BTW: small bug about Unicode (in nightly build) - try to save game with non-ASCII<128 characters to the non-Unicode-filesystem. Unicode name from the game gets not converted to the target filesystem charset (Windows, primary CP-1250), but I hope that it will be fixed in the future
The core framework for IME is in place, but needs more thinking on how to add it. Not sure this'll be in OpenTTD 0.5 but we'll see. For the time being you can however type in kanaPouncingAnt wrote:EDIT: additionally I cant get the windows japanese input system to work with OTTD. But thats not the hugest problem in the world
How did you start strgen? If you look into its help "--help" you can give it a source and a destination directory. If you 'encode' a language it must be in the same directory as english.txt and the source directory has to be right if the language files are not in the same directory as strgen.PouncingAnt wrote:alas, I wanted to play around with the language file format, but my strgen gave me errors for the latest english.txt, so I built strgen from the svn version, and still no luck.
englisht.txt(0): FATAL: cannot open file
TrueLight: "Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?"
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
- PouncingAnt
- Transport Coordinator
- Posts: 357
- Joined: 09 Nov 2004 22:33
kana sucks
not really particularly useful for the japanese. But better than nothing. I'm glad to hear the IME support is being worked on though, it will be great, I'm sure.
Cheers for the advice, I'll look into it

Cheers for the advice, I'll look into it
NB: the below challenges are still open for submission, so feel free to perform necromancy on them!
Try the PouncingAnt National Monopoly Challenge
Or even better, the PouncingAnt National Monopoly Challenge 2
Or better still, the PouncingAnt National Monopoly Challenge 3
Or, the PouncingAnt National Monopoly Challenge 4
Or try my scenario instead!
-(A lazy) OpenTTD Japanese Translator-
-(A lazy) PNGcodec user-
"You get what you pay for, so pay attention!"
Patches:
Company Station Stats
Try the PouncingAnt National Monopoly Challenge
Or even better, the PouncingAnt National Monopoly Challenge 2
Or better still, the PouncingAnt National Monopoly Challenge 3
Or, the PouncingAnt National Monopoly Challenge 4
Or try my scenario instead!
-(A lazy) OpenTTD Japanese Translator-
-(A lazy) PNGcodec user-
"You get what you pay for, so pay attention!"
Patches:
Company Station Stats
PouncingAnt wrote:alas, I wanted to play around with the language file format, but my strgen gave me errors for the latest english.txt, so I built strgen from the svn version, and still no luck.
englisht.txt(0): FATAL: cannot open file
If you want to start the translation (even at slow speed) you better ask for an account on Webtranslator2 (http://translator2.openttd.org). Just send him an email. Miham did a great job building webtranslator2 as it's the easiest way to work on the translations.
- PouncingAnt
- Transport Coordinator
- Posts: 357
- Joined: 09 Nov 2004 22:33
I already did that. I just wanted to get to translating in the meantime 

NB: the below challenges are still open for submission, so feel free to perform necromancy on them!
Try the PouncingAnt National Monopoly Challenge
Or even better, the PouncingAnt National Monopoly Challenge 2
Or better still, the PouncingAnt National Monopoly Challenge 3
Or, the PouncingAnt National Monopoly Challenge 4
Or try my scenario instead!
-(A lazy) OpenTTD Japanese Translator-
-(A lazy) PNGcodec user-
"You get what you pay for, so pay attention!"
Patches:
Company Station Stats
Try the PouncingAnt National Monopoly Challenge
Or even better, the PouncingAnt National Monopoly Challenge 2
Or better still, the PouncingAnt National Monopoly Challenge 3
Or, the PouncingAnt National Monopoly Challenge 4
Or try my scenario instead!
-(A lazy) OpenTTD Japanese Translator-
-(A lazy) PNGcodec user-
"You get what you pay for, so pay attention!"
Patches:
Company Station Stats
Regarding unicode+freetype support in OTTD...
I've enabled "WITH_FREETYPE", placed corresponding freetype 2.2.1 headers into dev-environment include folder. What i'm supposed to do after it? Use somehow .lib file, or ft's sources in OTTD project?
W/o it i get some unresolved externals (and it's not surprising
)...
Or freetype support isn't complete?
tia
I've enabled "WITH_FREETYPE", placed corresponding freetype 2.2.1 headers into dev-environment include folder. What i'm supposed to do after it? Use somehow .lib file, or ft's sources in OTTD project?
W/o it i get some unresolved externals (and it's not surprising

Or freetype support isn't complete?
tia
- 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
- PouncingAnt
- Transport Coordinator
- Posts: 357
- Joined: 09 Nov 2004 22:33
Hmm, my email bounced. Any other way of contacting this person?
NB: the below challenges are still open for submission, so feel free to perform necromancy on them!
Try the PouncingAnt National Monopoly Challenge
Or even better, the PouncingAnt National Monopoly Challenge 2
Or better still, the PouncingAnt National Monopoly Challenge 3
Or, the PouncingAnt National Monopoly Challenge 4
Or try my scenario instead!
-(A lazy) OpenTTD Japanese Translator-
-(A lazy) PNGcodec user-
"You get what you pay for, so pay attention!"
Patches:
Company Station Stats
Try the PouncingAnt National Monopoly Challenge
Or even better, the PouncingAnt National Monopoly Challenge 2
Or better still, the PouncingAnt National Monopoly Challenge 3
Or, the PouncingAnt National Monopoly Challenge 4
Or try my scenario instead!
-(A lazy) OpenTTD Japanese Translator-
-(A lazy) PNGcodec user-
"You get what you pay for, so pay attention!"
Patches:
Company Station Stats
- PouncingAnt
- Transport Coordinator
- Posts: 357
- Joined: 09 Nov 2004 22:33
yes, I know... Thats why I sent an email. Hence the possibility that the email could bounce. There wouldnt have been an email to bounce otherwise, eh?
NB: the below challenges are still open for submission, so feel free to perform necromancy on them!
Try the PouncingAnt National Monopoly Challenge
Or even better, the PouncingAnt National Monopoly Challenge 2
Or better still, the PouncingAnt National Monopoly Challenge 3
Or, the PouncingAnt National Monopoly Challenge 4
Or try my scenario instead!
-(A lazy) OpenTTD Japanese Translator-
-(A lazy) PNGcodec user-
"You get what you pay for, so pay attention!"
Patches:
Company Station Stats
Try the PouncingAnt National Monopoly Challenge
Or even better, the PouncingAnt National Monopoly Challenge 2
Or better still, the PouncingAnt National Monopoly Challenge 3
Or, the PouncingAnt National Monopoly Challenge 4
Or try my scenario instead!
-(A lazy) OpenTTD Japanese Translator-
-(A lazy) PNGcodec user-
"You get what you pay for, so pay attention!"
Patches:
Company Station Stats
Download useful.zip v1.2 from sourceforge, the .lib file is in there.DarkFenX wrote:Regarding unicode+freetype support in OTTD...
I've enabled "WITH_FREETYPE", placed corresponding freetype 2.2.1 headers into dev-environment include folder. What i'm supposed to do after it? Use somehow .lib file, or ft's sources in OTTD project?
W/o it i get some unresolved externals (and it's not surprising)...
Or freetype support isn't complete?
tia
http://sourceforge.net/project/showfile ... _id=114307
TrueLight: "Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?"
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
Who is online
Users browsing this forum: No registered users and 6 guests