Re: GTK & Pango string measurement



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


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