Wine中中文显示为错误的解决方案

First u must download wqy-microhei.ttc font online (https://github.com/anthonyfok/fonts-wqy-microhei/blob/master/wqy-microhei.ttc)

After save this Regedit file on pc (https://gist.github.com/swordfeng/c3fd6b6fcf6dc7d7fa8a)

Font file copy to wine folder under C: drive folder, under Windows folder, under Font (/home/YOURUSERNAME/.wine/drive_c/windows/Fonts)

If you cant see .wine folder, enter anyfolder and push keyboard Ctrl+H (show/hide hidden folder)

And last one you have downloaded regedit file. Steps: 1) Download winetricks (sudo apt-get install winetricks) 2) Open wine tricks app 3) First screen select 'Select the default wineprefix' and click OK (go to next) 4) Select option to 'Run regedit'. You will see windows registry editor screen. 5) Click on bar 'Registry > Import Registry File' 6)Select downloaded registry file and import. 7)Finish!

I hope it help you. I also use some software have chinese font. Wine don't support some distro maybe.

简单来说,缺少一份可以正确显示中文的字体,放一个字体在wine的drive_c/windows/Fonts中,并在注册表中把字体文件附上即可。粗略翻译:

首先你需要下载 wqy-microhei.ttc字体 (https://github.com/anthonyfok/fonts-wqy-microhei/blob/master/wqy-microhei.ttc)

之后下载一份注册表文件在pc上 (https://gist.github.com/swordfeng/c3fd6b6fcf6dc7d7fa8a) (译注:或者也可以保存一份文本文件,复制黏贴上面的内容,并以reg作为后缀即可)

如果你不能看到.wine文件夹,进入任意一个文件夹并且按下 Ctrl + H(显示或者隐藏文件夹)顺便一提,在macOS上是command + shift + .

最后下载好了注册表文件,步骤1:下载winetricks (sudo apt-get install winetricks) 2.打开winetrick 3.第一个窗口选择“Select the default wineprefix”然后点击OK (go to next) 4.选择选项“Run regedit”,你会看到Windows注册表编辑器窗口, 5.点击菜单栏“Registry > Import Registry File” 6.选择之前下载好的注册表文件并导入 7.结束!

如果没有其他的wineprefix,可以直接wine regedit打开注册表编辑器,然后按照上面第五步导入即可。

出处:Chinese fonts are not visible in programs installed in Wine中的Cengiz ALCAN的回答

转载于:https://www.cnblogs.com/CookieBox/p/Wine_Chinese_Problem.html

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值