Wednesday, November 23, 2016

Get Chinese TrueType font

Get Chinese TrueType font



Copy simsun.ttc from Microsoft Windows system, put somewhere, for example, /usr/share/fonts/ttf.

cp simsun.ttc /usr/share/fonts/ttf/simsun.ttf
cd /usr/share/fonts/ttf
sudo chmod 644 simsun.ttf
sudo mkfontdir
sudo mkfontscale
Add the path to the /etc/X11/xorg.conf:
Section "Files"
        …
        FontPath     "/usr/share/fonts/TTF"
        …
EndSection
Refresh the fontconfig cache
sudo fc-cache -fv


Available link for download