Created attachment 16905 [details] pycairo testcase for incorrect pdf stroke gradient rendering When rendered to a PDF, the gradients show up as a rectangular block, instead of being contained by the stroked line. Attached is a testcase written in pycairo. I am using version 1.6.0-0ubuntu1 of libcairo, running on Ubuntu Hardy.
What PDF viewer are you using? The PDF output from this testcase (tested with 1.6.5 and 1.4.10) renders fine in Adobe Reader, Ghostscript, poppler/splash, and poppler/qt4. The only viewer that I can reproduce the bug with is poppler with the cairo backend. Evince uses poppler/cairo and has the same the problem. If you are using Evince I suggest filing a bug for Poppler and attaching the PDF. If the PDF renders incorrectly in Adobe Reader or Ghostscript, please re-open the bug and attach the PDF file.
(In reply to comment #1) > What PDF viewer are you using? > > The PDF output from this testcase (tested with 1.6.5 and 1.4.10) renders fine > in Adobe Reader, Ghostscript, poppler/splash, and poppler/qt4. The only viewer > that I can reproduce the bug with is poppler with the cairo backend. Evince > uses poppler/cairo and has the same the problem. > > If you are using Evince I suggest filing a bug for Poppler and attaching the > PDF. > > If the PDF renders incorrectly in Adobe Reader or Ghostscript, please re-open > the bug and attach the PDF file. > I opened a Poppler bug: http://bugs.freedesktop.org/show_bug.cgi?id=16235
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.