CentOS 安裝字體

@zgcwkj  2023年07月29日

分類:

代碼 其它 

CentOS 安裝字體(筆記

安裝字體庫程序

yum -y install fontconfig

引用字體

字體存放路徑
/usr/share/fonts/chinese

修改訪問權限
chmod -R 755 /usr/share/fonts/chinese

引用字體
vim /etc/fonts/fonts.conf
--> <dir>/usr/share/fonts/chinese</dir>

刷新緩存
fc-cache

查看字體列表
fc-list

Windows 字體路徑

C:\Windows\Fonts


評論已關閉

Top