[cairo] Pango / Cairo problems on Win32

Behdad Esfahbod behdad at behdad.org
Sun Sep 2 10:34:40 PDT 2007

On Sun, 2007-09-02 at 15:17 +0200, Gerdus van Zyl wrote:
>         cr = pangocairo.CairoContext(ctx) 

You should never do this.  Try
pangocairo.cairo_font_map_get_default().create_context() or better, use
your widget.create_cairo_context().


"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