http://www.foxitsoftware.com/downloads/
安装开源字体:
yum install wqy-bitmap-fonts install wqy-zenhei-fonts wqy-unibit-fonts wqy-microhei-fonts
使用FSEX300.ttf字体的脚本:
首先要下载FSEX300.TTF字体
#!/usr/bin/env bash
#
mkdir -p /usr/share/fonts/truetype/
cp ./FSEX300.ttf /usr/share/fonts/truetype/
cd /usr/share/fonts/truetype/
chmod 0777 FSEX300.ttf
mkfontscale
mkfontdir
fc-cache -fv