wine字體調校
以文鼎PL中楷Uni (AR PL ZenKai Uni).為例
cd ~/.wine/drive_c/windows/fonts
ln -s /usr/share/fonts/truetype/arphic/ukai.ttf .(舉例 )
(將字型檔複製或連結或copy到 windows/fonts 目錄 )
執行
wine c:/windows/regedit.exe
修改成
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes]
"MS Shell Dlg"="AR PL ZenKai Uni"
"MS Shell Dlg 2"="AR PL ZenKai Uni"
這樣wine中文就正常了
wine的預設值之字體醜醜的,為解決此問題可修改:
* user.reg
* system.reg
* win.ini
vi ~/.wine/user.reg
加入以下內容:
[Software\\Wine\\X11 Driver]
"ClientSideAntiAliasWithRender"="N"
[Software\\Wine\\Fonts\\Replacements]
"System"="AR PL ZenKai Uni"
"Arial"="AR PL ZenKai Uni"
"Fixedsys"="AR PL ZenKai Uni"
"Microsoft Sans Serif"="AR PL ZenKai Uni"
"MS UI Gothic"="AR PL ZenKai Uni"
"Tahoma"="AR PL ZenKai Uni"
"Terminal"="AR PL ZenKai Uni"
"MingLiU"="AR PL ZenKai Uni"
"PMingLiU"="AR PL ZenKai Uni"
vi ~/.wine/system.reg
加入:
[System\\CurrentControlSet\\Hardware Profiles\\Current\\Software\\Fonts]
"LogPixels"=dword:00000082
這裡是改變dialog window buttom的字體大小
vi ~/.wine/drive_c/windows/win.ini
加入(改變其他字體的大小):
[Desktop]
menufontsize=13
messagefontsize=13
statusfontsize=13
IconTitleSize=13
* 參考資料:
http://moto.debian.org.tw/viewtopic.php?t=7164
http://member.giga.net.tw/kennyk26/wineapp01.htm
--- 額外資訊 ---
<<讓Windows程式選單執行快一點>>
修改 /usr/share/X11/locale/zh_TW.UTF-8/XLC_LOCALE
把以下注釋掉
--------------------------
# fs2 class (Chinese Han Character (Traditional))
#fs2 {
# charset {
# name BIG5-0:GLGR
# }
# font {
# primary BIG5-0:GLGR
# substitute BIG5-0:GLGR
# }
#}
---------------------------
沒有留言:
張貼留言