I am trying to get Chinese displayed in the game, on Linux. Since quite a few games come with their own copy of Dejavu, I looked into the shared directories (/usr/share/games/warzone2100), but there was no TTF. So I installed the Windows version on Linux, where I found two TTFs. I deleted them and created symlinks (with the original names) to a font I usually use for this purpose, but no characters were displayed, not even squares. Even copying (and of course adequately renaming) the font into the font directory did not help.
Could someone please lend a hand and give me a hint how to replace the original fonts on Linux? I would like to try out our translation... :-S
I am trying to get Chinese displayed in the game, on Linux. Since quite a few games come with their own copy of Dejavu, I looked into the shared directories (/usr/share/games/warzone2100), but there was no TTF. So I installed the Windows version on Linux, where I found two TTFs. I deleted them and created symlinks (with the original names) to a font I usually use for this purpose, but no characters were displayed, not even squares. Even copying (and of course adequately renaming) the font into the font directory did not help.
Could someone please lend a hand and give me a hint how to replace the original fonts on Linux? I would like to try out our translation... :-S
For 2.2 / trunk builds you edit the 'config' file. (Look in ~./warzone2100-2.2)
For anything else, you can't do it externally.
Buginator wrote:For 2.2 / trunk builds you edit the 'config' file. (Look in ~./warzone2100-2.2)
For anything else, you can't do it externally.
Wow, that was quick. I suppose you mean "configuration.c" in src? That's where I found Dejavu mentioned. I'll try my luck with that, as soon as I have a complete copy of the source. I've been trying for a few days now: "Connection closed unexpectedly" after a number of files, so I have to do it in small steps...
dl7und wrote:quote="Buginator"For 2.2 / trunk builds you edit the 'config' file. (Look in ~./warzone2100-2.2)
For anything else, you can't do it externally./quote
Wow, that was quick. I suppose you mean "configuration.c" in src? That's where I found Dejavu mentioned. I'll try my luck with that, as soon as I have a complete copy of the source. I've been trying for a few days now: "Connection closed unexpectedly" after a number of files, so I have to do it in small steps...
Thanks!
Olaf
No, I mean the file called "config"
In it, you will find:
fontname=whatever