站内公告:

亲友传真---海外信息直接看 https://qycz.org

Main Menu

wine无法显示中文的解决

作者 dx, 十一月 30, 2014, 03:35:29 上午

dx

原文链接: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吧。

dx

本人只是部分解决MAC下面的显示问题。各位有新招或者有什么经验请回复一下。谢谢!

快速回复

警告: 该贴已经至少 180 天没有更改。
除非你一定要回复,否则也许考虑发一个新贴会更好。

Note: this post will not display until it has been approved by a moderator.

名称:
电子邮件:
验证码:
请将此框留空:
三乘七等于几?(请用阿拉伯数字回答):
Shortcuts: ALT+S post or ALT+P preview