Bug 16222 - stroke gradient renders to pdf incorrectly
Summary: stroke gradient renders to pdf incorrectly
Status: RESOLVED NOTOURBUG
Alias: None
Product: cairo
Classification: Unclassified
Component: pdf backend (show other bugs)
Version: 1.6.0
Hardware: Other All
: medium normal
Assignee: Adrian Johnson
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-03 20:32 UTC by Karl Ostmo
Modified: 2008-06-05 03:25 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
pycairo testcase for incorrect pdf stroke gradient rendering (2.11 KB, text/x-python)
2008-06-03 20:32 UTC, Karl Ostmo
Details

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.