[cairo] Gradient rendering seriously broken

Joshua A. Andler scislac at gmail.com
Mon Aug 9 20:37:10 PDT 2010


On Tue, 2010-08-10 at 04:02 +0200, Soeren Sandmann wrote:
> Krzysztof Kosiński <tweenk.pl at gmail.com> writes:
> 
> > Hello
> > 
> > My port of Inkscape to Cairo is running into more problems. While the
> > image resampling problem only decreases quality, there are problems
> > with gradients that cause completely wrong rendering. The problem is
> > described in more detail (with images) on the bug tracker:
> > https://bugs.freedesktop.org/show_bug.cgi?id=29470
> 
> For the aliasing issue, the solution is the same as the image
> downscaling: add supersampling to pixman. The various image fetchers
> should fetch a grid of subpixels for each output pixel and then
> compute the average before storing the result in the output buffer.

Krzysztof has already expressed a desire to work on this issue (an email
of 7/21), but his emails to the list have gone unanswered. Lastly he had
asked where he should be looking in the pixman code for where
interpolation is handled (an email from 8/3).

Cheers,
Josh



More information about the cairo mailing list