这是由于系统中缺少相应字体库导致的
yum -y install fontconfig- 将你电脑下C:\windows\fonts下的一下字体拷贝出来放在桌面
- 在/usr/share/fonts下新建文件夹chinese,通过rz将字体上传
- 改变这个文件夹的目录权限:
chmod -R 755 /usr/share/fonts/chinese yum -y install ttmkfdir安装ttmkfdirttmkfdir -e /usr/share/X11/fonts/encodings/encodings.dirvi /etc/fonts/fonts.conf修改字体配置文件
在配置文件中增加一行<dir>/usr/share/fonts/chinese</dir>fc-cache清楚缓存shutdown -r now重启服务器
