81
0
0

Linux系统上安装/卸载ttf字体

2022-05-23
2024-02-24

安装

首先找到要安装的字体tff文件
在/usr/share/fonts/新建文件夹,如my_fonts
将字体文件复制粘贴(关于如何复制删帖)到 该文件夹处,系统将自动安装

卸载

先在/usr/share/fonts/my_fonts下找到要删除的ttf字体文件,直接

$ sudo rm -rf MSYahei.ttf 

然后用fontconfig重新生成字体缓存

$ sudo fc-cache -f -v

即可

Support

If this article helped you, feel free to share it or give support!