Re: GTK & Pango string measurement

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/16/2009 02:16 AM, Ken Resander wrote:

I really wanted a PangoContext that is not associated with a widget, so
the calculations can be carried out totally 'offline'. I could not see
how to do that.
If anyone knows, I would be interested in finding out.

pango_cairo_font_map_create_context (pango_cairo_font_map_get_default ())

However, such context will have different settings than that of a widget's.

behdad
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux