習慣 Windows 字體的使用者可將 Consolas、微軟雅黑、黑體、宋體 等 TTF 檔複製到 CentOS 字體目錄,修改 /etc/fonts/fonts.conf 掛載路徑並執行 fc-cache -f 即時生效,桌面環境即可選用。

mkdir -p /usr/share/fonts/msfontsC:\Windows\Fonts 複製 consola*.ttf、msyh*.ttf、simhei.ttf、simsunb.ttf 至上述目錄。vi /etc/fonts/fonts.conf
# 在 區塊內新增
/usr/share/fonts/msfonts
fc-cache -ffc-list | grep -i "microsoft\|consolas\|simhei"
# 應列出剛安裝的字體家族名稱
微軟字體屬專有授權,僅限個人合法授權 Windows 使用者自用,請勿再散播字體檔案。
/etc/fonts/fonts.conf → /etc/fonts/conf.d/*.conf → ~/.config/fontconfig/fonts.conf,後者優先級最高,亦可於用戶層級配置。