首页 > 技术文章 > linux 查看已安装字体文件

wangshuyi 2021-03-26 11:52 原文

查看中文字体

fc-list :lang=zh

安装中文字体

cd /root/

cp MSYH.TTF /usr/share/fonts/

clip_image008

然后建立字体索引信息,更新字体缓存,使用如下命令:

cd /usr/share/fonts/

mkfontscale

mkfontdir

fc-cache

推荐阅读