Bug 19896 - Bad rendering with Extend attributes
Summary: Bad rendering with Extend attributes
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: cairo backend (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL: http://jean-christophe.dubacq.fr/opos...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-02 01:36 UTC by Jean-Christophe Dubacq
Modified: 2009-04-17 12:07 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
A PDF file using the extend property (badly rendered) (239.59 KB, application/pdf)
2009-02-02 01:36 UTC, Jean-Christophe Dubacq
Details

Description Jean-Christophe Dubacq 2009-02-02 01:36:13 UTC
Created attachment 22460 [details]
A PDF file using the extend property (badly rendered)

The problem comes from linear gradient rendering. In one file I did generate (this maybe the reason why the bug does appear there and not in many other places), I use a linear gradient from one colour to another. Only acrobat seems to fill the part of the gradient that is not (indeed) the gradient with the determined colors, as should be when the Extend values are set to true.

The reference page is page 186 of the PDF 1.7 reference manual. Quoting from this reference: "An array of two boolean values specifying whether to extend the shading beyond the starting and ending points of the axis, respectively. Default value: [ false false ]."
Comment 1 Albert Astals Cid 2009-02-02 15:20:08 UTC
No we are not ignoring them, just not treating them in a totally correct way, i've a patch that fixes this particular pdf but i'm not totally sure it's correct so you'll have to wait until i run it over the regression tests here.

The problem is that i don't have any regression tests, so i have to code that first. Might take a while, hopefully less than a month.
Comment 2 Albert Astals Cid 2009-04-17 12:07:12 UTC
Fixed, will be in next poppler release


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.