Blog文章的打印版本

点击此处查看原始版本

听峰's Blog

wine 中文字体相关设置(摘录)

摘自:(http://forum.openrays.org/read-htm-tid-4309-fpage-6.html)

1、从c:\windows\fonts\里拷贝一个simsun.ttc到~/.wine/drive_c/windows/fonts/

2、修改/加入 ~/.wine/system.reg

代码

[System\\CurrentControlSet\\Hardware Profiles\\Current\\Software\\Fonts]
"LogPixels"=dword:00000070


这里是改变dialog window buttom的字体大小


3.修改/加入 ~/.wine/windows的dir/win.ini
代码

[Desktop]
menufontsize=13
messagefontsize=13
statusfontsize=13
IconTitleSize=13


这边是改变其他字体的大小

另外:
修改~/.wine/system.reg
代码

[Software\\Microsoft\\Windows NT\\CurrentVersion\\FontSubstitutes] 1144897563

"MS Shell Dlg"="SimSun"
"MS Shell Dlg 2"="SimSun"

可以解决某些按钮字体的问题

在某些系统中,以上方法都不能解决字体默认为simsun,最后发现,系统最先使用simfang.ttf,所以可以这样做:
ln -s SimSun.ttc simfang.ttc
因为simfang.ttc在simfang.ttf前,所以使用了simsun字体

Powered by Invision Community Blog (http://www.invisionblog.com)
© Invision Power Services (http://www.invisionpower.com)