Wine解决界面乱码
来源:https://jingyan.baidu.com/article/1974b28953c881f4b0f7744c.html
博主:
1、下载&移动
https://dl.pconline.com.cn/download/367689-1.html 解压,将 simsun.ttc 文件移动到 ~/.wine/drive_c/windows/Fonts 。
普通用户下:
cd /tmp sudo rm -rf /tmp/simsun* wget https://www.freefonts.io/wp-content/uploads/2021/05/simsun.zip sudo apt install unzip unzip simsun.zip
mv SIMSUN.ttf simsun.ttf sudo rm -rf ~/.wine/drive_c/windows/Fonts/simsun.ttf cp simsun.ttf ~/.wine/drive_c/windows/Fonts/
2、执行脚本:
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" "MS Shell Dlg 2"="simsun" "System"="simsun" "Tahoma"="simsun" "Times"="simsun" "Times New Roman CE,238"="simsun" "Times New Roman CYR,204"="simsun" "Times New Roman Greek,161"="simsun" "Times New Roman TUR,162"="simsun" "Tms Rmn"="simsun"
执行 regedit zh.reg