【linux】查看字体
生活随笔
收集整理的這篇文章主要介紹了
【linux】查看字体
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
前言
- CentOS Linux release 7.6.1810 (Core)
查看字體文件
shell> fc-list /usr/share/fonts/chinese/simsun.ttc: SimSun,宋體:style=Regular,常規 /usr/share/fonts/abattis-cantarell/Cantarell-Bold.otf: Cantarell:style=Bold /usr/share/fonts/chinese/simsun.ttc: NSimSun,新宋體:style=Regular,常規 /usr/share/fonts/abattis-cantarell/Cantarell-Regular.otf: Cantarell:style=Regular /usr/share/fonts/abattis-cantarell/Cantarell-Oblique.otf: Cantarell:style=Oblique /usr/share/fonts/abattis-cantarell/Cantarell-BoldOblique.otf: Cantarell:style=BoldOblique查看中文字體文件
shell> fc-list :lang=zh /usr/share/fonts/chinese/simsun.ttc: SimSun,宋體:style=Regular,常規 /usr/share/fonts/chinese/simsun.ttc: NSimSun,新宋體:style=Regular,常規fontconfig安裝
使用fc-list命令遇到commont not fount錯誤時,需要安裝fontconfig。
shell> yum -y install fontconfig總結
以上是生活随笔為你收集整理的【linux】查看字体的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 痂皮多久能自然脱落
- 下一篇: 【若依(ruoyi)】自定义layer