[rrd-users] Text Alignment in Graph Box?

Marc MERLIN marc_rrd at merlins.org
Tue Nov 24 08:33:30 CET 2009


On Tue, Nov 24, 2009 at 07:46:59AM +0100, Tobias Oetiker wrote:
> > This was my problem, all the monospace fonts I tried didn't seem to
> > work as intended, even if I saw a different font when I selected them.
> 
> the problem is, that since 1.3 rrdtool uses fontconfig ... this
> means you can not configure fonts by giving their full path. You
> rather have to have them in your fontcache (try fc-list | less).
> 
> the lines would have to look like this:
> 
> --font 'TITLE:12:Courier New'

Yes, that's what I found out.
This looks like a cacti bug where it tries to pass a font path instead of
taking a font name.

If Reinhard isn't the right person to pass that on, I'll open a bug with the
cacti guys.

Thanks for helping me figure this out.

Marc
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/  



More information about the rrd-users mailing list