CentOS 6.X Install Chinese Fonts

Due to business needs, Chinese font support needs to be added to EnOS 6.9 ...

Due to business needs, Chinese font support needs to be added to EnOS 6.9

  • Setup Toolkit
yum install -y fontconfig mkfontscale
  • After installation, use the fc-list command to view the fonts installed on the system
[root@aniu-pd-api-2 ~]# fc-list Utopia:style=Bold Italic Nimbus Sans L:style=Regular Italic Hershey\-Gothic\-English:style=Regular URW Palladio L:style=Roman Century Schoolbook L:style=Bold Italic DejaVu Sans,DejaVu Sans Condensed:style=Condensed Oblique,Oblique Nimbus Sans L:style=Bold Utopia:style=Bold Hershey\-Plain\-Duplex\-Italic:style=Regular URW Chancery L:style=Medium Italic DejaVu Sans:style=Bold Oblique Nimbus Roman No9 L:style=Regular Century Schoolbook L:style=Bold Century Schoolbook L:style=Italic Nimbus Sans L:style=Regular Hershey\-Plain\-Duplex:style=Regular URW Palladio L:style=Italic Nimbus Sans L:style=Bold Condensed URW Gothic L:style=Demi Nimbus Roman No9 L:style=Medium Italic Nimbus Mono L:style=Bold Oblique Dingbats:style=Regular Nimbus Roman No9 L:style=Medium Nimbus Sans L:style=Bold Italic DejaVu Sans:style=Oblique Nimbus Mono L:style=Regular Hershey\-Plain\-Triplex:style=Regular Hershey\-Script\-Simplex:style=Regular URW Gothic L:style=Book DejaVu Sans,DejaVu Sans Condensed:style=Condensed Bold Oblique,Bold Oblique Utopia:style=Italic Hershey\-Plain\-Triplex\-Italic:style=Regular DejaVu Sans,DejaVu Sans Light:style=ExtraLight Nimbus Sans L:style=Regular Condensed Italic URW Bookman L:style=Demi Bold URW Bookman L:style=Light Hershey\-Script\-Complex:style=Regular URW Gothic L:style=Demi Oblique Standard Symbols L:style=Regular DejaVu Sans,DejaVu Sans Condensed:style=Condensed,Book DejaVu Sans,DejaVu Sans Condensed:style=Condensed Bold,Bold URW Palladio L:style=Bold Nimbus Sans L:style=Regular Condensed URW Bookman L:style=Light Italic Century Schoolbook L:style=Roman Nimbus Roman No9 L:style=Regular Italic DejaVu Sans:style=Bold DejaVu Sans:style=Book Hershey\-Gothic\-Italian:style=Regular URW Gothic L:style=Book Oblique URW Palladio L:style=Bold Italic Nimbus Mono L:style=Regular Oblique Utopia:style=Regular Nimbus Mono L:style=Bold Hershey\-Gothic\-German:style=Regular Nimbus Sans L:style=Bold Condensed Italic URW Bookman L:style=Demi Bold Italic
  • View installed Chinese fonts on your system
fc-list :lang=zh # My system does not have any Chinese font support until Chinese font is installed
  • install font

Users can install fonts according to their needs. The author packages all fonts under win10 and uploads them to the server for installation.

unzip win-fonts.zip -d /usr/share/fonts/ cd /usr/share/fonts/ mkfontscale mkfontdir fc-cache [root@aniu-pd-api-1 fonts]# fc-list :lang=zh

6 July 2020, 12:07 | Views: 7560

Add new comment

For adding a comment, please log in
or create account

0 comments