Bug 14160

Summary: Example of faulty gradient rendering
Product: poppler Reporter: nix
Component: cairo backendAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: cworth
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Pidgin's logo

Description nix 2008-01-20 15:26:19 UTC
Created attachment 13826 [details]
Pidgin's logo

Here's an example of a PDF file wherein the gradients are rendered to the screen incorrectly (compared to Acrobat Reader).

poppler-0.6.2
cairo-1.4.12
Comment 1 Carl Worth 2008-01-20 15:35:17 UTC
The gradients here look like something other than a linear or radial gradient, (though I haven't chased things down enough to say exactly which kind).

If this is something like a coons mesh gradient, then it would be useful to have support for something like that (both in cairo and poppler). Separately, (and what should be a separate bug), it would be great to get poppler to start using cairo gradients for linear and radial gradients, (rather than doing piecemeal-geometry approximations as xpdf always did).

-Carl
Comment 2 Carlos Garcia Campos 2009-06-04 06:11:08 UTC
(In reply to comment #1)
> The gradients here look like something other than a linear or radial gradient,
> (though I haven't chased things down enough to say exactly which kind).

They are all linear and radial gradients

> If this is something like a coons mesh gradient, then it would be useful to
> have support for something like that (both in cairo and poppler). Separately,
> (and what should be a separate bug), it would be great to get poppler to start
> using cairo gradients for linear and radial gradients, (rather than doing
> piecemeal-geometry approximations as xpdf always did).

attached to bug #10942 there's a patch that fixes this bug. 

http://people.freedesktop.org/~carlosgc/poppler-cairo-patterns2.png


Comment 3 Carlos Garcia Campos 2009-07-31 09:26:18 UTC
Fixed in git master now. 

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.