linux上mybase输入中文,mybase乱码处理

该博客介绍了如何编辑~/.wine/system.reg文件,将特定字体映射到simsun.ttc字体,以解决在Wine环境下字体显示不正确的问题。用户需要下载simsun.ttc字体并将其放在~/.wine/drive_c/windows/Fonts目录下,然后按照教程中的步骤配置注册表,即可完成字体替换,确保字体显示正常。
摘要由CSDN通过智能技术生成

编辑~/.wine/system.reg中的下面部分

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink]

"Lucida Sans Unicode"="simsun.ttc"

"Microsoft Sans Serif"="simsun.ttc"

"MS Sans Serif"="simsun.ttc"

"Tahoma"="simsun.ttc"

"Tahoma Bold"="simsun.ttc"

"msyh"="simsun.ttc"

"Arial"="simsun.ttc"

"Arial Black"="simsun.ttc"

下载字体simsun.ttc到下面目录中

~/.wine/drive_c/windows/Fonts

?  Fonts ls

simsun.ttc

字体问题就搞定了。

安装wine

apt install wine64

原文:https://www.cnblogs.com/longchang/p/13032986.html

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值