Linux系统安装字体

 详细地,可以参考:https://askubuntu.com/questions/3697/how-do-i-install-fonts

 

把.ttf等后缀的文件复制到/home/your_username/.fonts文件夹内,如果.fonts文件夹不存在,mkdir /home/your_username/.fonts

fc-cache -f -v

来更新字体

参照:https://askubuntu.com/questions/191778/how-to-install-many-font-files-quickly-and-easily

 

fc-list | grep "\.fonts"

来查看新安装的字体

参考:https://unix.stackexchange.com/questions/305931/how-to-get-the-real-name-of-font

 

posted @ 2024-02-01 15:52  profesor  阅读(21)  评论(0编辑  收藏  举报