The problem of Chinese character display

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
Post Reply
280696516
New user
Posts: 4
Joined: 12 Jan 2018, 09:33

The problem of Chinese character display

Post by 280696516 »

my os is windows 10 Chinese edition.
I run warzone 2100. Menu text is box. It can't display correctly.
I rename folder locale/zh_CN to other names.Then menu text is correct in English.
Attachments
无标题.png
无标题.png (10.76 KiB) Viewed 6967 times
User avatar
vexed
Inactive
Inactive
Posts: 2538
Joined: 27 Jul 2010, 02:07

Re: The problem of Chinese character display

Post by vexed »

You need to install a font, or point it to use a different font that has the character set that you need.
/facepalm ...Grinch stole Warzone🙈🙉🙊 contra principia negantem non est disputandum
Super busy, don't expect a timely reply back.
280696516
New user
Posts: 4
Joined: 12 Jan 2018, 09:33

Re: The problem of Chinese character display

Post by 280696516 »

hi, could you tell me how to point it to use a different font?
cybersphinx
Inactive
Inactive
Posts: 1695
Joined: 01 Sep 2006, 19:17

Re: The problem of Chinese character display

Post by cybersphinx »

Isn't there an option during setup for that? Or does that not work anymore?
We want information... information... information.
User avatar
vexed
Inactive
Inactive
Posts: 2538
Joined: 27 Jul 2010, 02:07

Re: The problem of Chinese character display

Post by vexed »

280696516 wrote:hi, could you tell me how to point it to use a different font?
cybersphinx wrote:Isn't there an option during setup for that? Or does that not work anymore?
OP, did you do this?
Capture.JPG
Capture.JPG (45.72 KiB) Viewed 6881 times
I don't recall if you have to hand edit the fonts.conf file after you enable that or not.
You might.
You can also copy the font into Warzone's font directory.
/facepalm ...Grinch stole Warzone🙈🙉🙊 contra principia negantem non est disputandum
Super busy, don't expect a timely reply back.
280696516
New user
Posts: 4
Joined: 12 Jan 2018, 09:33

Re: The problem of Chinese character display

Post by 280696516 »

I have not hand edited the fonts.conf file after install.
The problem screen is 58.
Can you tell me copy which font files into Warzone's font directory? I have 197 font files in C:\Windows\Fonts.
Attachments
menu character error
menu character error
280696516
New user
Posts: 4
Joined: 12 Jan 2018, 09:33

Re: The problem of Chinese character display

Post by 280696516 »

C:\Windows\Fonts
screenshot
Attachments
font.png
cybersphinx
Inactive
Inactive
Posts: 1695
Joined: 01 Sep 2006, 19:17

Re: The problem of Chinese character display

Post by cybersphinx »

Maybe the change to harfbuzz for font rendering doesn't use fontconfig anymore? If so, that whole part of the installer is useless, and should probably be replaced by an option to download a Chinese font instead (which then might need mapping to languages that use it).
We want information... information... information.
Post Reply