Pango-markup option in rrdtool13

Anything that you think should be in Cacti.

Moderators: Developers, Moderators

Post Reply
Dyr
Posts: 23
Joined: Mon Sep 10, 2007 5:21 am

Pango-markup option in rrdtool13

Post by Dyr »

Since there is option "pango-markup" in rrdtool13, let's include it in Cacti? It gives ability to make simplest html markup in, for example, titles or legends and costs nothing.

man rrdgraph
[-P|--pango-markup]
All text in RRDtool is rendered using Pango. With the --pango-markup option, all text will be processed by pango markup. This allows to embed some simple html like markup tags using
<span key="value">text</span>

Apart from the verbose syntax, there are also the following short tags available.

Code: Select all

 b     Bold
 big   Makes font relatively larger, equivalent to <span size="larger">
 i     Italic
 s     Strikethrough
 sub   Subscript
 sup   Superscript
 small Makes font relatively smaller, equivalent to <span size="smaller">
 tt    Monospace font
http://developer.gnome.org/doc/API/2.0/ ... ormat.html
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Valid request.
We will try to incorporate as many rrdtool options as possible with 088.
To keep track of them, please post a feature request as given by http://www.cacti.net/bugs.php
R.
Dyr
Posts: 23
Joined: Mon Sep 10, 2007 5:21 am

Post by Dyr »

Done: http://bugs.cacti.net/view.php?id=1588
I don't sure in appropriate category, but anyway.

Thanks a lot!
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Assigned to me
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests