【求助】cacti 英文也乱码
版本:cacti-0.8.7d、rrdtool-1.3.7我不是想汉化rrdtool-1.3.7,我就用英文,结果英文也乱码,见图片: 有最新报错信息了:
(process:1882): Pango-WARNING **: failed to create cairo scaled font, expect ugly output. the offending font is 'Courier 14'
(process:1882): Pango-WARNING **: shaping failure, expect ugly output. shape-engine='BasicEngineFc', font='Courier 14', text=' '
(process:1882): Pango-WARNING **: failed to create cairo scaled font, expect ugly output. the offending font is 'Courier 12'
(process:1882): Pango-WARNING **: shaping failure, expect ugly output. shape-engine='BasicEngineFc', font='Courier 12', text='0'
(process:1882): Pango-WARNING **: failed to create cairo scaled font, expect ugly output. the offending font is 'Courier 8'
(process:1882): Pango-WARNING **: shaping failure, expect ugly output. shape-engine='BasicEngineFc', font='Courier 8', text='RRDTOOL / TOBI OETIKER' 似乎是Courier字体问题 RRDTool Default Font Path设置是什么? 没设置,一般是什么目录?$rrdtool_install_path/etc/fonts? 你的locale设置是英文吗? 是英文
回复 #4 ttplay 的帖子
4楼正解!RRDTool Default Font Path:/usr/share/fonts/zh_CN/TrueType/zysong.ttf 我的情况跟楼主一样一样的,解决中。。。 找到原因,本机内一个ttf文件都没有,随便拷了一个到/usr/share/fonts里,就可以了
页:
[1]