Bug 14160 - Example of faulty gradient rendering
Summary: Example of faulty gradient rendering
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:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-20 15:26 UTC by nix
Modified: 2009-07-31 09:26 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Pidgin's logo (729.67 KB, application/pdf)
2008-01-20 15:26 UTC, nix
Details

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.