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

Behdad Esfahbod behdad at behdad.org
Wed Feb 28 11:36:04 PST 2007


On Wed, 2007-02-28 at 18:00 +0100, Tobias Ceglarek wrote:
> 
> but layout.set_alignment(pango.ALIGN_CENTER) does not work. It has no
> effect.
> 
> Could anyone tell me why? 

Donno.  What if you set a width on the layout?  Should work.  No idea.
Feel free to attach your code.

-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759





More information about the cairo mailing list