Wine very very slow in Chinese language of Linux

axel_xia at axel_xia at
Mon Jul 13 21:53:56 CDT 2009

----- 原文 ----- From: axel_xia at Subject:Re: Wine very very slow in Chinese language of Linux

Hi, Roderick / DanThank you for your email. Please be patient to read my email, hope that helps for closing this issue.
When I searched in (google in Chinese) with "wine slow" (I use Chinese character for slow, google in English returned little valuable info with "wine slow" in English), found someone summaried several reasons why wine in Linux is so slow & gave the solutions, I translated it to English as below:1). Reason:     Wine uses traditional protocol for communication between client and server, and it seems that iptables is disabled in linux/wine.    Action:     execute command "iptables -I INPUT -s -j ACCEPT"2). Reason:     Locale problem, lots of Linux distrubitions use utf-8 for Chinese locale, and wine will firstly try to search/request the utf-8 font sets which do not exisit in ./wine/drive_c/windows/fonts. Then wine will request other font sets that suits other locale(language environment) one by one (image how many languages in the world).    Action:    Execute command "env LANG=en_US wine your_program" or "env LANG=zh_CN wine your_program", to tell wine which language locale you want to use. (zh_CN is the Chinese locale in Linux)3). Reason:     GKB font sets, maybe it is a bug while wine is very slow to request GKB font sets. (GKB font sets are used to display simplified Chinese fonts and traditional Chinese fonts, but it is not the national standard in China. Simplified Chinese fonts are used in mainland China, and traditional Chinese fonts are used in Hongkong/Taiwan/...).     Action 1: delete the comments about GKB in  /usr/share/X11/locale/zh_CN.UTF-8/XLC_LOCALE     Action 2: execute command "sed -i "s/^[^#]*GBK/\#Marked for GBK--- &/g" /usr/share/X11/locale/zh_CN.UTF-8/XLC_LOCALE >/dev/null" to let wine not continue to use/request GBK fonts.4). Reason: No fonts in ~/.wine/drive_c/windows/fonts (actually that is a null folder at the beginning, nothing to suit Chinese environment in wine)    Action:    Copy the font file simsun.ttc (the default Chinese font in Chinese version of $MS Windows system) from XP to ~/.wine/drive_c/windows/fonts, and then save the following contents as fonts.reg:[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes]"Arial"="simsun""Arial CE,238"="simsun""Arial CYR,204"="simsun""Arial Greek,161"="simsun""Arial TUR,162"="simsun""Courier New"="simsun""Courier New CE,238"="simsun""Courier New CYR,204"="simsun""Courier New Greek,161"="simsun""Courier New TUR,162"="simsun""FixedSys"="simsun""Helv"="simsun""Helvetica"="simsun""MS Sans Serif"="simsun""MS Shell Dlg"="simsun""MS Shell Dlg 2"="simsun""System"="simsun""Tahoma"="simsun""Times"="simsun""Times New Roman CE,238"="simsun""Times New Roman CYR,204"="simsun""Times New Roman Greek,161"="simsun""Times New Roman TUR,162"="simsun""Tms Rmn"="simsun"
Then execute the command "regedit ~/.wine/fonts.reg", so wine can be very well displayed as in Windows Chinese environment and much faster than before.
Due to time limit & not willing to be risky, I only tried the 4th solution in my Fedora 10, and it seems faster than before with acceptable speed but does not improve sharply. Dear Madam/Sir, could you please help investigate based on the clues I provided? I also believe that you absolutely know how many users in China are evaluating wine &/ crossover office in Chinese environment of Fedora / Ubuntu / Suse /......, and by the way it is also very slow to install $MS office via crossover office under Chinese environment of my Fedora 10.
Best regards!
Yours sincerely, Axel

----- 原文 ----- From: Roderick Colenbrander<thunderbird2k at> Subject:Re: Wine very very slow in Chinese language of Linux
I think the slowness can be related to the font code. For some reason(still have to investigate why) font rendering performance (at leaston nvidia and ati) is 50x faster if you enable font smoothing. (set itto rgb or bgr, gray is not that much faster). Axel use winetricks toenable it.RoderickOn Sat, Jul 11, 2009 at 8:18 PM, Dan Kegel<dank at> wrote:> Axel wrote:>> When using WINE in Chinese environment Linux, the WINE works very very slow even opening windows / clicking buttons....>> Does this happen with the latest wine (1.1.25)?> If so, can you show us how to reproduce the problem on> an ubuntu 9.04 system?  Remember, most of us> don't speak chinese, so you'll need to be very> explicit with your instructions.>> Thanks,> Dan>>>

11月名企热招职位-->亲爱的老师,我要谢谢您! -->3天购物省10元,7天购物省100元-->古怪美女 妖孽?邻家mm?-->上51job,轻松搞定好工作!-->送你08年最惹火的礼物(多图)-->12月18日《天龙八部》上演新版“大决战”-->快乐圣诞,闪电邮周周有大礼-->寻找童趣 好游戏让你停不下来 搜狐闪电邮奥运特别版,登录有无限惊喜-->网游玩家必看>>>>08年绝对不能错过的好游戏!-->搜狐闪邮积分 金秋大兑奖!-->中奖这么简单?就是注册、登录?-->快乐圣诞,闪电邮周周有大礼-->乐友超值购物满300减30,100多款礼品任您选-->山寨春晚幕后花絮揭秘-->情人节,每天一束红玫瑰免费放送-->春季特卖场,最低三折起-->我所见过的劳动节最美的礼物!-->


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the wine-devel mailing list