[rrd-developers] How to set a specific font for TITLE inrrdtool 1.3.x

Tobias Oetiker tobi at oetiker.ch
Sat Aug 8 11:37:50 CEST 2009


Jul 28 Bernhard Reutner-Fischer wrote:

> On Mon, Jul 27, 2009 at 05:03:51PM -0700, swami wrote:
> >
> >Hi,
> >   Thanks for the response.
> >    I tried giving the font with space like DejaVuSans Bold in double quotes and it worked .
>
> Tobi, i suggest to add the following note:
>
> Index: doc/rrdgraph.pod
> ===================================================================
> --- doc/rrdgraph.pod	(revision 1873)
> +++ doc/rrdgraph.pod	(working copy)
> @@ -350,6 +350,10 @@ edge of the graph.
>
>  Use Times for the title: C<--font TITLE:13:Times>
>
> +Note that you need to quote the argument to B<--font> if the font-name
> +contains whitespace:
> +--font "TITLE:13:Some Font"
> +
>  If you do not give a font string you can modify just the size of the default font:
>  C<--font TITLE:13:>.

:-) done ... at some point the rrdtool documentation will also
server as a shell scripting guide :-)

cheers
tobi

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900



More information about the rrd-developers mailing list