[Gtk-sharp-list] Pango warning

Søren Juul zpon.dk at gmail.com
Tue Apr 8 09:01:39 EDT 2008


I am using pango change the layout of some labels:

Label urlLaben = null;
Pango.FontDescription font_desc = null;
font_desc = Pango.FontDescription.FromString ("sans 11 bold");
urlLabel = new Label("n/a");
urlLabel.SetAlignment(0.0f, 1.0f);

But when the application has been running for a short while i get a pango
warning and the application dies.

(mml:10381): Pango-WARNING **: Invalid UTF-8 string passed to

(mml:10381): Pango-WARNING **: shaping failure, expect ugly output.
shape-engine='BasicEngineFc', font='DejaVu Sans 8', text=''

Segmentation fault (core dumped)

Why is this, and what can be done about it? The labels text are updated
regularly (about once a second), can this be part of the problem?
Med venlig hilsen / Kind regards
Søren Juul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20080408/317306f1/attachment-0001.html 

More information about the Gtk-sharp-list mailing list