[cairo] Pango / Cairo problems on Win32
Behdad Esfahbod
behdad at behdad.org
Sun Sep 2 11:54:35 PDT 2007
On Sun, 2007-09-02 at 13:34 -0400, Behdad Esfahbod wrote:
>
>
>
>
> 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().
Oops. Forget what I said. Makes no sense.
--
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