hama916 发表于 2009-05-09 10:52

【求助】cacti 英文也乱码

版本:cacti-0.8.7d、rrdtool-1.3.7

我不是想汉化rrdtool-1.3.7,我就用英文,结果英文也乱码,见图片:

hama916 发表于 2009-05-09 15:04

有最新报错信息了:
(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'

ttplay 发表于 2009-05-09 15:44

似乎是Courier字体问题

ttplay 发表于 2009-05-09 15:46

RRDTool Default Font Path设置是什么?

hama916 发表于 2009-05-09 15:57

没设置,一般是什么目录?$rrdtool_install_path/etc/fonts?

ttplay 发表于 2009-05-09 17:24

你的locale设置是英文吗?

hama916 发表于 2009-05-09 20:13

是英文

hama916 发表于 2009-05-09 21:41

回复 #4 ttplay 的帖子

4楼正解!
RRDTool Default Font Path:/usr/share/fonts/zh_CN/TrueType/zysong.ttf

pxczy 发表于 2012-01-10 16:14

我的情况跟楼主一样一样的,解决中。。。

pxczy 发表于 2012-01-10 16:22

找到原因,本机内一个ttf文件都没有,随便拷了一个到/usr/share/fonts里,就可以了
页: [1]
查看完整版本: 【求助】cacti 英文也乱码