解决deepin-wine中Wechat、QQ等软件聊天框和输入框中文显示小横条

解决deepin-wine中Wechat、QQ等软件聊天框和输入框中文显示小横条

1.下载并添加字体

网上下载.ttc字体,有的下载下来是.ttf可能需要安装一下(没试过)。
我用的是msyh.ttc
##亲测字体发虚是字体本身的原因,换一个不虚的就ok了。##

##添加字体
cp msyh.ttc ~/.deepinwine/Deepin-WeChat/drive_c/windows/Fonts

2.修改系统注册表

gedit ~/.deepinwine/Deepin-WeChat/system.reg
#或者使用图形化界面
WINEPREFIX=~/.deepinwine/Deepin-WeChat deepin-wine regedit
#修改以下两行
"MS Shell Dlg"="msyh"
"MS Shell Dlg 2"="msyh"

3.字体注册

在/home/user/.deepinwine/Deepin-WeChat/drive_c/windows/Fonts

gedit msyh_config.reg
#内容添加
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"

注册

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

4.reboot

参考了zegangYang的答案zegangYang

  • 3
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值