[Wine] Chinese fonts not displayed properly

Wei-Tsun Sun wsun013.wine at gmail.com
Tue Jun 6 08:53:56 CDT 2006


On Sun, 4 Jun 2006 22:39:09 +1200
Raimund Eimann <raimund at cs.auckland.ac.nz> wrote:

> Hi,
> 
> I've got Chinese Windows application that appears to have a problem with 
> Chinese fonts under wine (emulating Windows 98). It's available from here: 
> http://www.gtjadzh.com/ (download starts automatically after some seconds, 
> filename is setup_dzh5_fuyi.exe. When running "wine setup_dzh5_fuyi.exe" from 
> a console, I get get to see a window full of garbage characters (see 
> attachment), although I successfully installed Microsoft's Input Method 
> Editors (Chinese language pack, filename: scmondo.exe) from  
> 
> http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=803A623E-C311-4591-A593-B0E24A6F38E8
> 
> If anyone could give me a hint about what to do, that would be great, 
> otherwise I'll have to install an entire Windows system just for this single 
> program :(
> 
> Thanks,
> Raimund
> 
> 
> Today's wisdom:
> An error?  Impossible!  My modem is error correcting.

Hi,

This is related to the locale settings that you have. Even though you have chinese fonts installed in either linux fonts relevant 
directory (say /usr/share/fonts) or in the font dir within wine (~/.wine/..../fonts), you will still need to set the locale correctly
in order to show chinese fonts in some applications. The attachments are two examples of different locale which leads the display
in totally different outcomes. To run this program correctly, you can specified the locale setting for the intended app, in this case

LC_ALL=zh_CN wine setup_dzh5_fuyi.exe

http://wsun013.googlepages.com/locale-cn.png
http://wsun013.googlepages.com/locale-us.png
hope this helps you,

Wei-Tsun Sun

--------------------------------------------------------
University of Auckland
Electrical and Computer Engineering
--------------------------------------------------------



More information about the wine-users mailing list