centos 添加windows字体库

1. 获取字体

  1. windows上C:\Windows\Fonts目录下字体复制到centos/usr/share/fonts

2. 缓存

  1. 安装mkfontscale

     yum install mkfontscale
    
  2. 运行mkfontscale

      mkfontscale
    
  3. 运行mkfontdir

     mkfontdir
    
  4. 安装fontconfig

     yum install fontconfig
    
  5. 运行

     fc-cache -fv 
    

3. 重启

	reboot

猜你喜欢

转载自blog.csdn.net/qq_36325121/article/details/98204619