最近又在水群討論學術的時候,發現deepin-wine-qq的中文字體並不盡如人意。
於是又在搗鼓字體了。
1.移植字體
首先我們克隆windows上比較滿意的字體到~/.deepinwine/Deepin-QQ/drive_c/windows/Fonts目錄下,我選的是微軟雅黑。
如果你也選的是這個字體,也可以在https://gitee.com/crab-in-the-northeast/msyh-fonts獲取gitee包。
2.編輯注冊表文件
如果你克隆的上面的gitee包,會發現內置zh.reg,可以跳過這一步。
如果你用的不是gitee包,我們在當前目錄新建一個zh.reg文件,內容如下:
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes]
"Arial"="msyh"
"Arial CE,238"="msyh"
"Arial CYR,204"="msyh"
"Arial Greek,161"="msyh"
"Arial TUR,162"="msyh"
"Courier New"="msyh"
"Courier New CE,238"="msyh"
"Courier New CYR,204"="msyh"
"Courier New Greek,161"="msyh"
"Courier New TUR,162"="msyh"
"FixedSys"="msyh"
"Helv"="msyh"
"Helvetica"="msyh"
"MS Sans Serif"="msyh"
"MS Shell Dlg"="msyh"
"MS Shell Dlg 2"="msyh"
"System"="msyh"
"Tahoma"="msyh"
"Times"="msyh"
"Times New Roman CE,238"="msyh"
"Times New Roman CYR,204"="msyh"
"Times New Roman Greek,161"="msyh"
"Times New Roman TUR,162"="msyh"
"Tms Rmn"="msyh"
其中的msyh替換成你自己的字體文件名。
3.編入注冊表
在zh.reg所在目錄下執行deepin-wine regedit zh.reg命令,等待即可。
4.重啟QQ
RT
至此我們就更改完了deepin-wine-ubuntu中qq的字體。如果你用的是其他容器,也可以用類似的方法,只是fonts所在目錄不是這個了。具體是什么,你可以百度或谷歌。
本篇文章至此結束。
