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

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Tue Jul 28 11:52:11 CEST 2009


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:>.
 


TIA,



More information about the rrd-developers mailing list