[rrd-users] Setting RRDTOOL_DEFAULT_FONT on v1.4.3

Yu Watanabe yu.watanabe at jp.fujitsu.com
Mon Oct 18 08:17:18 CEST 2010


Hello all.

I am trying to set up Japanese character for my rrdtool.

However, no matter how I set the RRDTOOL_DEFAULT_FONT, 
the ttf file seems to be not activating at all.

I am setting the environment value as RRD_DEFAULT_FONT="IPAGothic"

/usr/local/bin/rrdtool graph test.png \
--imgformat=PNG \
--start=1287294220 \
--end=1287380620 \
--title='gwm - Traffic - eth0 \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2010/10/16 22\:43\:40 To 2010/10/17 22\:43\:40\c" \
COMMENT:"  \n" \
--vertical-label='bits per second' \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/home/test/gwm_traffic_in_8.rrd":traffic_in:AVERAGE \
DEF:b="/home/test/gwm_traffic_in_8.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
AREA:cdefa#00CF00FF:"Inbound"  \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s"  \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n"  \
LINE1:cdefe#002A97FF:"Outbound"  \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s"  \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n"

Could someone give me advice with this?

Thanks!
Yu Watanabe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.png
Type: image/png
Size: 28364 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/rrd-users/attachments/20101018/069ed3c0/attachment-0001.png 


More information about the rrd-users mailing list