[rrd-users] Default Font ?

Jerome SCHEVINGT jerome at schevingt.com
Tue Oct 27 07:24:25 CET 2009


Hi

i have a problems of font on my graph.

When i start manually the rrdtool graph, the font are Ok
but if it's cron, we have a bad fonts ..

i have specified in my script:

$RRDPATH/rrdtool graph $WWWDIR/ifday.gif \
-t "$TITRE Historique sur une journée" \
-v "bits/s" \
--font 'DEFAULT:0:Courier' \
-w 500 -h 120 \
--slope-mode \
--alt-autoscale \
--start $NOW1D \
--end $NOW \
DEF:downaverage=$RRDATAPATH/$DATABASE:ifin:AVERAGE \
DEF:upaverage=$RRDATAPATH/$DATABASE:ifout:AVERAGE \
CDEF:inaverage=downaverage,8,* \
CDEF:outaverage=upaverage,8,* \
VRULE:1120687200#EE00EE: \
GPRINT:inaverage:MAX:"IN Max\: %6.2lf %s" \
GPRINT:inaverage:MIN:"Min\: %6.2lf %s" \
GPRINT:inaverage:AVERAGE:"Moy\: %6.2lf %s" \
GPRINT:inaverage:LAST:"Last\: %6.2lf %s" \
AREA:inaverage#00EE00:"IN bps \l" \
GPRINT:outaverage:MAX:"OUT Max\: %6.2lf %s" \
GPRINT:outaverage:MIN:"Min\: %6.2lf %s" \
GPRINT:outaverage:AVERAGE:"Moy\: %6.2lf %s" \
GPRINT:outaverage:LAST:"Last\: %6.2lf %s" \
LINE1:outaverage#0000FF:"OUT bps " \


But no change, default font are not correct.

Thanks for your help



More information about the rrd-users mailing list