2008年8月18日星期一

wine字体调整方法

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字体

没有评论: