假设字体文件夹为:~/Fonts
。执行:
sudo mkdir -p /usr/share/fonts/myFontssudo cp ~/Fonts/*.ttf /usr/share/fonts/myFonts/sudo chmod 644 /usr/share/fonts/myFonts/*.ttfcd /usr/share/fonts/winFonts/sudo mkfontscale #创建雅黑字体的fonts.scale文件,它用来控制字体旋转缩放sudo mkfontdir #创建雅黑字体的fonts.dir文件,它用来控制字体粗斜体产生sudo fc-cache -fv #建立字体缓存信息,也就是让系统认识雅黑
OOPS!
A comment box should be right here...But it was gone due to network issues :-(If you want to leave comments, make sure you have access to disqus.com.