Tech feedback and support (技术支持) => 动态网中文技术支持区 => 主题发帖人为: dx 于 十一月 30, 2014, 03:35:29 上午

标题: wine无法显示中文的解决
作者: dx十一月 30, 2014, 03:35:29 上午
原文链接:http://www.diybl.com/course/6_system/linux/Linuxjs/20090311/160631.html首先,在windows下拷贝字体文件——simsun.ttc(c:\windows\fonts\simsun.ttc),复制到
~/.wine/drive_c/windows/Fonts下;
然后,编辑reg文件,文件内容如下:

REGEDIT4
[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"

(注:按照windows的格式,最后一行之后要敲回车符)
保存文件名为fonts.reg,保存在~/.wine下;
然后导入regedit:
    打开gnome-terminal,输入指令  cd ~/.wine
                                regedit fonts.reg
导入成功。
最后,打开regedit,~/.wine/drive_c/windows/regedit.exe,依次找到HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes,将该键下的MS Shell Dlg和MS Shell Dlg2键值删除。
退出regedit.exe,再看看你的wine吧。
标题: Re: wine无法显示中文的解决
作者: dx十一月 30, 2014, 03:36:58 上午
本人只是部分解决MAC下面的显示问题。各位有新招或者有什么经验请回复一下。谢谢!