[rrd-users] Fonts in Graph Title

Tobias Oetiker tobi at oetiker.ch
Wed Jul 8 16:44:33 CEST 2009


Stein,

Yesterday strick wrote:

>
> Hello.
> I'm having problem with norwegian letters (æøå) in graph title are being
> displayed as squares.
>
> I'm using rrdtool 1.3.7 and cacti 0.8.7e on a fresh debian lenny
> installation.
> Have spesified the rrdtool fontpath in cacti;
> /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf

note that in 1.3 you have to use fontconfig compatible fontnames
... normally this is just the name of the font yuou want ... eg
"DejaVuSansMono"

cheers
tobi
>
> In the logfiles there are lots of pango errors;
> (process:29996): Pango-WARNING **: Invalid UTF-8 string passed to
> pango_layout_set_text()
> (process:30001): Pango-CRITICAL **: pango_context_load_font: assertion
> `pango_font_description_get_family (desc) != NULL' failed
>
> In the rrd file the name is correct but when graphs are generated some
> letters are displayed as squares.
>
> Please give me a hint on how to solve this.
>
>
> Thanks
> -stein-
>

-- 
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-users mailing list