You are not logged in.

#1 2013-07-21 01:57:44

heliumhgy
Member
Registered: 2012-11-28
Posts: 10

[Wine] English font garbled in winecfg

even if I delete the prefix and recreate it via winecfg

http://postimg.org/image/gt8d0mzzn/

I can solve it by installing mscorefonts via winetricks, but seems I need to do that every time I create a prefix?

Anyone have idea?

Offline

#2 2013-07-26 23:23:13

sas
Member
Registered: 2009-11-24
Posts: 155

Re: [Wine] English font garbled in winecfg

The AUR package ttf-ms-font allows you to install the Microsoft Core Fonts system-wide, does the problem still occur after you install that package?

Also, can you run each of the following commands in the shell from which you start winecfg, and tell us their output:

fc-match "Tahoma"
locale

Last edited by sas (2013-07-26 23:35:59)

Offline

#3 2013-07-27 12:42:32

heliumhgy
Member
Registered: 2012-11-28
Posts: 10

Re: [Wine] English font garbled in winecfg

no change after installing ttf-ms-fonts.

~$ fc-match "Tahoma"
tahoma.ttf: "Tahoma" "Regular"

~$ locale
LANG=en_US.UTF-8
LC_CTYPE=zh_CN.UTF-8
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

Offline

#4 2013-07-27 13:40:51

sas
Member
Registered: 2009-11-24
Posts: 155

Re: [Wine] English font garbled in winecfg

Hm.

This may be a long shot, but does it change anything if you run winecfg with modified locale environment variables? E.g. try the following:

LANG=en_US winecfg
LANG=zh_CN winecfg
LANG=C LC_CTYPE=C LC_ALL=C winecfg

Another command whose console output might potentially shed some light on what's going on (in fact it might be interesting to compare this command's output before and after installing mscorefonts via winetricks):

WINEDEBUG=font winecfg 2>&1 | grep Chosen

Offline

#5 2013-07-28 00:52:54

heliumhgy
Member
Registered: 2012-11-28
Posts: 10

Re: [Wine] English font garbled in winecfg

the first command works perfect, the second one works with some Chinese font garbled.
and the third one works perfect, too, so I modified it to

~$ LC_CTYPE=C winecfg

and find it seems to be my locale configuration problem smile
I'll try to solve it.
thanks

Offline

Board footer

Powered by FluxBB