Accent visualization issues

20 views
Skip to first unread message

Henrique Poyatos

unread,
Dec 7, 2012, 6:57:12 PM12/7/12
to corsix-th-...@googlegroups.com
Hello folks,

I'm translating CorsixTH to Brazilian Portuguese, and I noticed some issues about accent visualization in the game.

First of all, I can't see any characteres using tilde (such as ã or õ). I think the Portuguese translation had the same problem, because any phrases are using tilde accents so far. If the problem was discussed before in another thread, I'm sorry, but I didn't find it.

Besides, I can't see any grave accent (à) or any accent using caption letters / uppercase (such as Á, Ó, À, É, grave, tilde and so on). It's so strange, because I looked for any translation (Russian for instance) and they have really complex letters.

Henrique Poyatos

Edvin Linge

unread,
Dec 8, 2012, 5:01:54 AM12/8/12
to corsix-th-...@googlegroups.com
Have you specified that the language needs Unicode fonts? I.e it says
Font("unicode") in the beginning of the file? That way is not perfect
yet, so the portuguese translation avoids it at the moment at the
expense of not being able to use such characters.

In order for it to work you need to specify a font file in the config
file. http://code.google.com/p/corsix-th/wiki/Fonts
I'm planning on improving this functionality in the coming weeks, for
example that you can choose this in-game.

/Edvin

Henrique Poyatos

unread,
Dec 8, 2012, 8:20:51 AM12/8/12
to corsix-th-...@googlegroups.com
Hello Edvin,

I saw this command in the Translation wiki, even in a other language files.. but every time I put Font("unicode") in the beginning of the file, the language simply vanish of the option dialog (in other words, the file doesn't compile). 

I'm compiling using MacOSX "Snow Leopard". Is that a problem (related with fonts, I mean)?

Edvin Linge

unread,
Dec 8, 2012, 8:55:45 AM12/8/12
to corsix-th-...@googlegroups.com
It vanishes because you haven't specified a font file as described in
the wiki page below. This part isn't at all user friendly at the
moment, which is why I'm going to start improving it soon...

/Edvin
Message has been deleted
Message has been deleted
Message has been deleted

Henrique Poyatos

unread,
Dec 8, 2012, 11:16:14 AM12/8/12
to corsix-th-...@googlegroups.com


I tried to follow the related wiki (http://code.google.com/p/corsix-th/wiki/Fonts  ) but I think it was made to Linux Distributions. Alternatively, I caught the ttc file, move to /System/Library/Fonts and run fc-cache,

I putted Font("unicode") in brazilian_portuguese.lua,

I configured config.txt file. Now it's working! They are all there (ACCENTS).. great..


Now the problem is the font size... It's greater than original one..

any possibility to switch the font size several times at language lua file? Even switch fonts (for instance, the Research screen uses another kind of font in the original).

Reply all
Reply to author
Forward
0 new messages