Page 1 of 3

Can not be displayed in Chinese

Posted: 16 Oct 2009, 06:40
by mengcnt
:(
中文简体和繁体,都不能正常显示。
我的系统是WIN7

Google Translation:
Chinese Simplified and Traditional Chinese, can not display properly.
My system is WIN7

Re: Can not be displayed in Chinese

Posted: 16 Oct 2009, 09:28
by NaxShaleChan
As I recall from the installation, you need the fonts for Chinese or something to make it work in WZ. Did you install those?

Re: Can not be displayed in Chinese

Posted: 16 Oct 2009, 10:10
by Zarel
Then again, the question was asked in English, so maybe he didn't understand the question and clicked "No". ;)

Re: Can not be displayed in Chinese

Posted: 16 Oct 2009, 17:30
by mengcnt
Other languages are normal. In addition to Chinese.
I installed click on the "yes."

Re: Can not be displayed in Chinese

Posted: 16 Oct 2009, 17:46
by cybersphinx
Try putting a chinese font in Warzone's "etc/fonts" (?) folder, perhaps that helps.

Re: Can not be displayed in Chinese

Posted: 16 Oct 2009, 18:56
by -Kosh-
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?

Re: Can not be displayed in Chinese

Posted: 16 Oct 2009, 19:47
by mengcnt
In the "fonts" directory into the other Chinese fonts, and changed its name to "DejaVuSans.ttf"
Ineffective
:(

Re: Can not be displayed in Chinese

Posted: 16 Oct 2009, 19:59
by mengcnt
XP is the same situation under the

Re: Can not be displayed in Chinese

Posted: 16 Oct 2009, 20:06
by cybersphinx
-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.

Re: Can not be displayed in Chinese

Posted: 16 Oct 2009, 21:18
by mengcnt
Found a "fontname = DejaVu Sans"

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. :(

Re: Can not be displayed in Chinese

Posted: 17 Oct 2009, 01:30
by Zarel
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?

Re: Can not be displayed in Chinese

Posted: 17 Oct 2009, 01:56
by cybersphinx
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.

Re: Can not be displayed in Chinese

Posted: 17 Oct 2009, 18:13
by -Kosh-
mengcnt wrote:Found a "fontname = DejaVu Sans"

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.

Re: Can not be displayed in Chinese

Posted: 17 Oct 2009, 20:37
by mengcnt
stderr.txt is empty

Re: Can not be displayed in Chinese

Posted: 17 Oct 2009, 21:17
by Zarel
mengcnt wrote:Found a "fontname = DejaVu Sans"

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?)