Press "Enter" to skip to content

Linux 装字体

1. 拷贝Windows系统中C:\Windows\Fonts 中所有中文字体到Centos系统/usr/share/fonts/ 目录。
2. 建立字体缓存

  • mkfontscale
  • mkfontdir
  • fc-cache
  • fc-list # 检验字体是否包括上传字体

3. 重新启动Java或者Centos

Be First to Comment

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    This site uses Akismet to reduce spam. Learn how your comment data is processed.