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
<<attachment: test.png>>
_______________________________________________ rrd-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
