[rrd-users] Putting a degree sign in an SVG?
tobi at oetiker.ch
Sun Oct 28 00:18:43 CEST 2007
you may want to try rrdtool 1.3beta ...
it uses cairo to generate the svg ... this should fix this problem
Yesterday Anssi Saari wrote:
> I've been playing with generating SVGs with rrdgraph recently, but I
> can't seem to be able to include a degree sign in an SVG graph. I'd like
> to have vertical label like -v "Temperature (°C)". So far I've tried a
> literal ISO-8859-1 and UTF-8 in the script, but that seems to generate
> bad XML, or at least Firefox doesn't like it. That works for PNGs though.
> <text font-size="14">Enc-Erature
> It's also interesting that Temperature becomes Enc-Erature...
> My other idea was using the XML notatation i.e. ° but
> unfortunately that's replaced with &#x00b0; so I end up with the
> literal string ° in the graph instead of the degree sign...
> So, any ideas? Using RRDtool 1.2.15 in Debian Etch.
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten
http://it.oetiker.ch tobi at oetiker.ch ++41 62 213 9902
More information about the rrd-users