window字体安装到linux系统注意要点

window字体安装到linux系统注意要点

1、在linux原本字体库中创建文件夹【/usr/share/fonts/】
 【mkdir /usr/share/fonts/win_fonts】
 
2、将需要的字体上传到该文件夹下

3、终端输入:【sudo fc-cache -fv】

4、如果你需要确认新的中文字体库是否已经安装,可在终端中输入:【fc-list :lang=zh-cn | sort】


修改权限
cd /usr/share/fonts/
chmod 755 win_fonts/
cd /usr/share/fonts/win_fonts/
chmod 644 *
mkfontscale
mkfontdir
fc-cache

猜你喜欢

转载自blog.csdn.net/qq_36336332/article/details/109764907