[rrd-users] UTF-8 encoding + transparency
George Andonov
gandonov at bg.amadeus.com
Tue Sep 4 15:03:09 CEST 2007
Hello,
I have two questions regarding RRD graph.
1. How to change the font encoding?
I want to set the Title in Cyrillic alphabet (UTF-8 encoding).
Example (written in UTF-8):
rrdtool graph test.png \
... \
--title "Ала бала портокала" \
--font TITLE:13:/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf \
...
But the Title is printed in ISO-8859-1in the PNG file.
With -- font I can change the font, but I don't know how to change the
encoding.
2. How to add "transparency" to the area?
Quote from the documentation:
... Additionally you can add an alpha channel (transparency). The
default will be ``FF'' which means non-transparent. ...
Please provide some examples.
Thank you in advance.
George Andonov
More information about the rrd-users
mailing list