[rrd-users] Fonts in Graph Title
strick
steinerik at adsl.no
Fri Jul 10 12:59:34 CEST 2009
Thank you, that fixed one of the errors.
I figured out how to change fonts but the non-us characters is still just
squares.
I'm still lost in the "Invalid UTF-8 string" error.
Is this a problem between cacti,rrdtool and pango or is this bad charset
configuration on the host?
Thanks
Stein
oetiker wrote:
>
> 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
> _______________________________________________
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
>
>
--
View this message in context: http://n2.nabble.com/Fonts-in-Graph-Title-tp3218118p3236330.html
Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.
More information about the rrd-users
mailing list