为CentOS安装新字体

1. 找到新的字体文件,字体文件一般以ttf或者fon结尾。可以到Windows下复制,Windows下字体文件目录是C:\Windows\fonts。

2. 将找到都字体文件复制到/usr/share/fonts目录。通常会创建一个子目录保存字体文件,这样方便管理。

3. 使用fc-cache命令更新字体缓存:

$ fc-cache -vf

4. 修改系统字体设置:System -> Preferences -> Appearance -> Fonts:

原文地址:https://www.cnblogs.com/eastson/p/2641860.html