1.fc-list 判断有没有中文字体库
2.没有,执行 yum -y install fontconfig 安装
3.在Windows系统中C:Windows\Fonts目录下找到宋体simsunttc文件
4.在linux 系统中,/usr/share/fonts/目录下创建chinese文件夹并把simsun.ttc放在chinese文件夹里
5.在/etc/fonts/目录下找到fonts.conf文件并添加<dir>/usr/share/fonts/chinese</dir>
6.查看是否安装成功,fc-list :lang=zh
centos7.9 缺失中文字体解决办法
最新推荐文章于 2024-05-21 08:00:00 发布