解决wine-wechat中文字体显示问题

Jun 09 2020

下载微软雅黑

微软雅黑

添加字体

1
cp msyh.ttc ~/.deepinwine/Deepin-WeChat/drive_c/windows/Fonts

修改系统注册表

1
nano ~/.deepinwine/Deepin-WeChat/system.reg

修改以下两行

1
2
"MS Shell Dlg"="msyh"
"MS Shell Dlg 2"="msyh"

字体注册

1
nano msyh_config.reg

内容添加

1
2
3
4
5
6
7
8
9
10
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink]
"Lucida Sans Unicode"="msyh.ttc"
"Microsoft Sans Serif"="msyh.ttc"
"MS Sans Serif"="msyh.ttc"
"Tahoma"="msyh.ttc"
"Tahoma Bold"="msyhbd.ttc"
"msyh"="msyh.ttc"
"Arial"="msyh.ttc"
"Arial Black"="msyh.ttc"

注册

1
WINEPREFIX=~/.deepinwine/Deepin-WeChat deepin-wine regedit msyh_config.reg

reboot