[cairo] pango.Context from a cairo.ImageSurface ?

Tobias Ceglarek dev at ceglarek.eu
Mon Feb 26 10:16:40 PST 2007


Hello,

I need to get a pango.Context from a cairo.ImageSurface?

More precisely: I want to produce a png image file with
cairo.ImageSurface.write_to_png(). So I need a cairo.ImageSurface. But I
need a pango.Context too, because I want to use pango to layout text
comfortably.

Is it possible?

Regards,

TC



More information about the cairo mailing list