[cairo] pyCairo Quartz support

Baz brian.ewins at gmail.com
Mon Nov 19 01:35:53 PST 2007


On Nov 19, 2007 2:50 AM, Bobby Powers <bobbypowers at gmail.com> wrote:
> Hello.  I've been working with pyCairo on the mac, and I've added
> support for the Quartz backend.  The only thing, is I can't seem to
> display gradients.  I can output them to PNG through pyCairo, and I
> can draw them on the screen (with the Quartz backend) through C, but I
> can't in pyCairo.  Anyone have any immediate thoughts on this?  I am
> quite new to Python, and contributing to projects, so any help is
> appreciated.  Also, how should I send this in?  I can of course email
> this list with a patch and example of how to use it, or should I send
> it somewhere else?

Its possible you've run into this bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=402527

...which was fixed a couple of nights ago. Are you using cairo from
git, or a release? This bug was in the 1.5.2 release but not 1.4.10.

A cut down test case that reproduces the problem in python would be
nice. If its small you can just put that inline in your message, if
its bigger just mail me off-list and I can check it against the git
version. Normally I'd suggest having a go yourself and learning to
play with git-bisect, but if that is the bug its hard to bisect to,
there's a bunch of commits that don't compile on mac surrounding it.

Cheers,
Baz


More information about the cairo mailing list