一.安装wine
apt install -y wine
(耗时比较长、也可以直接在官网上直接下载安装包)
二.修改wine字体
2.1 百度搜索windows字体进行下载
simsun.ttc
2.2 将下载下来的压缩包解压
找到后缀是ttc的字体文件、拷贝至~/.wine/drive_c/windows/Fonts
新建文件,内容如下
vim zh.reg
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes]
“Arial”=“simsun”
“Arial CE,238”=“simsun”
“Arial CYR,204”=“simsun”
“Arial Greek,161”=“simsun”
“Arial TUR,162”=“simsun”
“Courier New”=“simsun”
“Courier New CE,238”=“simsun”
“Courier New CYR,204”=“simsun”
“Courier New Greek,161”=“simsun”
“Courier New TUR,162”=“simsun”
“FixedSys”=“simsun”
“Helv”=“simsun”
“Helvetica”=“simsun”
“MS Sans Serif”=“simsun”
“MS Shell Dlg”=“simsun”
“