Page 1 of 1

The problem of Chinese character display

Posted: 12 Jan 2018, 09:50
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.

Re: The problem of Chinese character display

Posted: 13 Jan 2018, 05:16
by vexed
You need to install a font, or point it to use a different font that has the character set that you need.

Re: The problem of Chinese character display

Posted: 14 Jan 2018, 09:11
by 280696516
hi, could you tell me how to point it to use a different font?

Re: The problem of Chinese character display

Posted: 14 Jan 2018, 20:01
by cybersphinx
Isn't there an option during setup for that? Or does that not work anymore?

Re: The problem of Chinese character display

Posted: 15 Jan 2018, 03:56
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 6884 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.

Re: The problem of Chinese character display

Posted: 20 Jan 2018, 10:48
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.

Re: The problem of Chinese character display

Posted: 20 Jan 2018, 10:51
by 280696516
C:\Windows\Fonts
screenshot

Re: The problem of Chinese character display

Posted: 20 Feb 2018, 02:14
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).