Created attachment 27947 [details] Test case While trying to implement radial gradients in poppler cairo backend, I noticed that the cairo code used to generate the pdf file doesn't provide the same output using an image surface. The attached file is a modified version of the original code (by adrianj) to generate both pdf and png outputs. I'll attach a screenshot too.
Created attachment 27948 [details] Screenshot
commit 20d2df03059d6a5941464d80e81e8116ebf4dbfe Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Thu Jul 23 19:08:40 2009 +0100 Fix inversion of radial gradients when r2 > r1 Fixes: Bug 22908 -- Invalid output of radial gradient http://bugs.freedesktop.org/show_bug.cgi?id=22908 We also include a modified patch by André Tupinambá <andrelrt@gmail.com>, to pull constant expressions out of the inner radial gradient walker.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.