专业的编程技术博客社区

网站首页 > 博客文章 正文

centos7安装字体(centos7设置字体大小)

baijin 2024-09-21 12:59:37 博客文章 3 ℃ 0 评论

第一步:[root@localhost ~]# yum install fontconfig mkfontscale (安装字体管理工具

第二步:[root@localhost ~]# mkdir -pv /usr/share/fonts/chinese/ (创建字体目录,并把相应字体上传到此目录)

第三步: [root@localhost ~]# cd /usr/share/fonts/chinese/

[root@localhost chinese]# mkfontscale

[root@localhost chinese]# mkfontdir

[root@localhost chinese]# fc-cache -fv

( 建立字体缓存 )

第四步: [root@localhost ~]# fc-list (查看所有字体 )

reboot重启

本文暂时没有评论,来添加一个吧(●'◡'●)

欢迎 发表评论:

最近发表
标签列表