从windows获取字体更新到linux上
Windows 字体
windows的系统路径是 C:\Windows\Fonts
linux安装字体
#linux字体路径 /usr/share/fonts/
cd /usr/share/fonts/
#创建中文字体路径
mkdir chinese
#上传字体,将windows字体全部上传到/usr/share/fonts/chinese路径
cd /usr/share/fonts/chinese
rz -be
#更改字体权限
chmod 755 /usr/share/fonts/chinese/*
#刷新缓存 (刷新后即时生效,不需要重启linux系统)
fc-cache
#查看字体(成功将会显示已经安装字体)
fc-list :lang=zh
#刷新字体
mkfontscale 、mkfontdir 、fc-cache
fc-cache -f -v
评论区