测试了两种方法都是可行的。
1.ubuntu 16.04做法——不需要修改字体
此方法不需要修改字体,比较简便。
1.1.wine安装
sudo apt-get install wine
1.2.打开已经安装好的foxmail
wine ./Foxmail.exe
然后退出。
1.3.获取winetricks
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
chmod +x winetricks
./winetricks riched30
1.4.重新运行foxmail
2.使用最新版本的wine——需要修改字体
2.1.wine安装
按照https://wiki.winehq.org/Ubuntu,
sudo add-apt-repository ppa:wine/wine-builds
sudo apt-get update
sudo apt-get install wine-staging winehq-staging
2.2.打开已经安装好的foxmail
wine ./Foxmail.exe
然后退出。
2.3.下载simsun
wget http://183.250.179.88/file3.data.weipan.cn/64003011/03c8652c8e62b998d4fc503b784bf9e60f184b09?ip=1462101720,112.5.121.139&ssig=UTeBzdRSOG&Expires=1462103510&KID=sae,l30zoo1wmz&fn=SimSun.TTC&skiprd=2&se_ip_debug=112.5.121.139&corp=2&from=1221134&wsiphost=local -O simsun.ttc
cp ./simsun.ttc ~/.wine/drive_c/windows/Fonts/
将以下内容保存成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"
然后:
wine regedit
并导入zh.reg。
2.4.获取winetricks
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
chmod +x winetricks
./winetricks riched30
2.5.重新运行foxmail