CentOS 安装字体(笔记)
安装字体库程序
yum -y install fontconfig
引用字体
字体存放路径
/usr/share/fonts/chinese
修改访问权限
chmod -R 755 /usr/share/fonts/chinese
引用字体
vim /etc/fonts/fonts.conf
--> <dir>/usr/share/fonts/chinese</dir>
刷新缓存
fc-cache
查看字体列表
fc-list
Windows 字体路径
C:\Windows\Fonts
评论已关闭