Can not be displayed in Chinese

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
mengcnt
Greenhorn
Posts: 9
Joined: 16 Oct 2009, 06:19

Can not be displayed in Chinese

Post by mengcnt »

:(
中文简体和繁体,都不能正常显示。
我的系统是WIN7

Google Translation:
Chinese Simplified and Traditional Chinese, can not display properly.
My system is WIN7
Attachments
1.jpeg
User avatar
NaxShaleChan
Trained
Trained
Posts: 41
Joined: 02 Oct 2009, 06:43

Re: Can not be displayed in Chinese

Post 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?
-"Gravity is not responsible for people falling in love." -Albert Einstein

Soldier: General, we're surrounded!
General: Good, then we can attack in all directions!
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA
Contact:

Re: Can not be displayed in Chinese

Post by Zarel »

Then again, the question was asked in English, so maybe he didn't understand the question and clicked "No". ;)
mengcnt
Greenhorn
Posts: 9
Joined: 16 Oct 2009, 06:19

Re: Can not be displayed in Chinese

Post by mengcnt »

Other languages are normal. In addition to Chinese.
I installed click on the "yes."
cybersphinx
Inactive
Inactive
Posts: 1695
Joined: 01 Sep 2006, 19:17

Re: Can not be displayed in Chinese

Post by cybersphinx »

Try putting a chinese font in Warzone's "etc/fonts" (?) folder, perhaps that helps.
-Kosh-
Trained
Trained
Posts: 203
Joined: 16 Sep 2009, 23:34

Re: Can not be displayed in Chinese

Post 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?
This is a waste of space. Something important should be here.
mengcnt
Greenhorn
Posts: 9
Joined: 16 Oct 2009, 06:19

Re: Can not be displayed in Chinese

Post by mengcnt »

In the "fonts" directory into the other Chinese fonts, and changed its name to "DejaVuSans.ttf"
Ineffective
:(
mengcnt
Greenhorn
Posts: 9
Joined: 16 Oct 2009, 06:19

Re: Can not be displayed in Chinese

Post by mengcnt »

XP is the same situation under the
cybersphinx
Inactive
Inactive
Posts: 1695
Joined: 01 Sep 2006, 19:17

Re: Can not be displayed in Chinese

Post 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.
mengcnt
Greenhorn
Posts: 9
Joined: 16 Oct 2009, 06:19

Re: Can not be displayed in Chinese

Post 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. :(
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA
Contact:

Re: Can not be displayed in Chinese

Post 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?
cybersphinx
Inactive
Inactive
Posts: 1695
Joined: 01 Sep 2006, 19:17

Re: Can not be displayed in Chinese

Post 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.
-Kosh-
Trained
Trained
Posts: 203
Joined: 16 Sep 2009, 23:34

Re: Can not be displayed in Chinese

Post 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.
This is a waste of space. Something important should be here.
mengcnt
Greenhorn
Posts: 9
Joined: 16 Oct 2009, 06:19

Re: Can not be displayed in Chinese

Post by mengcnt »

stderr.txt is empty
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA
Contact:

Re: Can not be displayed in Chinese

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