1.首先在/usr/shared/fonts目录下新建一个目录chinese

cd /usr/share/fonts
mkdir chinese

2.拷贝windows字体到chinese目录

Centos8安装中文字体

 3.安装字体

cd /usr/share/fonts/chinese
sudo dnf install mkfontscale
mkfontscale
mkfontdir
fc-cache -fv

4.查看

fc-list :lang=zh-cn

Centos8安装中文字体

 

相关文章:

  • 2022-01-07
  • 2022-12-23
  • 2022-12-23
  • 2021-10-10
  • 2021-09-22
猜你喜欢
  • 2021-06-03
  • 2021-11-29
  • 2021-11-17
  • 2021-11-06
  • 2021-10-22
  • 2022-02-07
相关资源
相似解决方案