Bug 16222

Summary: stroke gradient renders to pdf incorrectly
Product: cairo Reporter: Karl Ostmo <kostmo>
Component: pdf backendAssignee: Adrian Johnson <ajohnson>
Status: RESOLVED NOTOURBUG QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: medium    
Version: 1.6.0   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: pycairo testcase for incorrect pdf stroke gradient rendering

Description Karl Ostmo 2008-06-03 20:32:24 UTC
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.
Comment 1 Adrian Johnson 2008-06-04 03:37:39 UTC
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.
Comment 2 Karl Ostmo 2008-06-04 22:12:11 UTC
(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.