解决wine中文字体方块或乱码

时间:2022-10-24 19:15:10

从Windows使用字体

如果有一个安装了Windows的分区, 可以通过链接它们来使用其字体。

例如, Windows的C:\盘被挂载在/windows:

# ln -s /windows/Windows/Fonts /usr/share/fonts/WindowsFonts

然后重新生成字体缓存:

# fc-cache

或者,将Windows的字体复制到/usr/share/fonts:

# mkdir /usr/share/fonts/WindowsFonts
# cp /windows/Windows/Fonts/* /usr/share/fonts/WindowsFonts
# chmod 755 /usr/share/fonts/WindowsFonts/*

然后重新生成字体缓存:

# fc-cache