Hello. I have this problem: I need to calculate the pixel size of a text that is going to be rendered with Pango and Cairo. I need to do this before obtaining a Cairo context or Pango context for this operation. Pango.Layout has a method called GetPixelSize, but apparently I can not create a Pango Layout without having a context. Is there any way of creating a temporary Pango context in order to calculate the pixel size?
In advance, thank you. Manuel. _______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
