I am sorry, the mail before was send to early.
It seemed to be because I used multithreading, that i got the warnings,
after I have added locks and other stuff found here
http://www.mono-project.com/Responsive_Applications it seems to have fixed
the problem.
> 2008/4/8, Søren Juul <[EMAIL PROTECTED]>:
> >
> > Hello
> >
> > 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.ModifyFont(font_desc);
> > 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
> > pango_layout_set_text()
> >
> > (mml:10381): Pango-WARNING **: shaping failure, expect ugly output.
> > shape-engine='BasicEngineFc', font='DejaVu Sans 8', text=''
> > Stacktrace:
> >
> > 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
>
>
>
>
> --
> Med venlig hilsen / Kind regards
> Søren Juul
>
--
Med venlig hilsen / Kind regards
Søren Juul
_______________________________________________
Gtk-sharp-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list