cybersphinx wrote:Try putting a chinese font in Warzone's "etc/fonts" (?) folder, perhaps that helps.
You sure about this?
I thought they need to change the config file to point to a new font that has the Chinese characters?
"fontname=DejaVu Sans" is the default right?
In r7568 if I read this correctly it means one version uses the windows font directory and the other does not?
This is a waste of space. Something important should be here.
-Kosh- wrote:You sure about this?
I thought they need to change the config file to point to a new font that has the Chinese characters?
"fontname=DejaVu Sans" is the default right?
In r7568 if I read this correctly it means one version uses the windows font directory and the other does not?
No, Im not sure, Windows troubleshooting for me is always poking in the dark and hoping to hit something. On my Linux system fontconfig automatically chooses a substitute font, no idea what it does on Windows (the file is not in SVN...).
mengcnt wrote:In the "fonts" directory into the other Chinese fonts, and changed its name to "DejaVuSans.ttf"
Ineffective
Changing the filename probably won't help, you need to adjust the font settings in the config file.
I tried to change commonly used Chinese characters.
Entered the game found in English fonts have changed (Note change success), but the Chinese was the same as the original.
cybersphinx wrote:No, Im not sure, Windows troubleshooting for me is always poking in the dark and hoping to hit something. On my Linux system fontconfig automatically chooses a substitute font, no idea what it does on Windows (the file is not in SVN...).
fontconfig does that in Windows, too, but we took it out because it caused first-launch to take upwards of half an hour. QuesoGLC/fontconfig have had problems for ages... this one, the Mac OS X filesystem one... why isn't there anything better?
Zarel wrote:fontconfig does that in Windows, too, but we took it out because it caused first-launch to take upwards of half an hour.
I remember that. The question was how the substitutions are set up, if is it enough to just dump another font in the folder - but it looks like that is not the case.
I tried to change commonly used Chinese characters.
Entered the game found in English fonts have changed (Note change success), but the Chinese was the same as the original.
run game with --debug all and attach the stderr.txt file after you switch the language to Chinese.
This is a waste of space. Something important should be here.
I tried to change commonly used Chinese characters.
Entered the game found in English fonts have changed (Note change success), but the Chinese was the same as the original.
Why not change it to something like
fontname = SimHei
or some other Chinese font (and move that font into the Fonts folder?)