linux安装字体

首先下载字体,在linux下建立目录例子

 

这里是我需要安装的字体

然后在linux进行更新字体缓存


# mkfontscale (如果提示 mkfontscale: command not found,需自行安装 # yum install mkfontscale )
# mkfontdir 
# fc-cache -fv (如果提示 fc-cache: command not found,则需要安装# yum install fontconfig )

最后展示安装效果

搞定

posted @ 2019-08-18 10:58  anliex  阅读(46)  评论(0)    收藏  举报