从1.1.4开始wine的界面就已经支持中文了,但是对于软件中的中文支持并不太好,主要原因。还是字体。。。
Let's go
首先,copy一下字体:把simsun.ttc (即宋体)复制到 ~/.wine/drive_c/windows/fonts
然后:
XML/HTML代码
- [HKEY_LOCAL_MACHINESoftwareMicrosoftWindows NTCurrentVersionFontSubstitutes]
- "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"
当然,你也可以COPY其他字体,然后替换掉这上面的simsun。把这 段内容保存成一个reg文件,例如:fonts.reg
最后,到命令行下支持wine regedit fonts.reg,OK,你现在重新打开记事本,是不是发现可以输入中文了?
wine 运行reg文件: wine regedit fonts.reg