Bug 84527

Summary: Shadow not displayed correctly
Product: poppler Reporter: Germán Poo-Caamaño <gpoo+bfdo>
Component: cairo backendAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: s.mehrbrodt
Version: unspecified   
Hardware: Other   
OS: All   
See Also: https://bugzilla.gnome.org/show_bug.cgi?id=737667
https://bugs.freedesktop.org/show_bug.cgi?id=91487
Whiteboard:
i915 platform: i915 features:
Attachments: PDF test case
Expected output
pdftocairo -png output
Use mask for even-odd fill

Description Germán Poo-Caamaño 2014-09-30 19:38:30 UTC
Created attachment 107150 [details]
PDF test case

As reported in https://bugzilla.gnome.org/show_bug.cgi?id=737667

--------------------
In the attached PDF, the shadows are displayed as a box instead as a shadow.
--------------------
Comment 1 Germán Poo-Caamaño 2014-09-30 19:39:32 UTC
Created attachment 107151 [details]
Expected output
Comment 2 Germán Poo-Caamaño 2014-09-30 19:40:05 UTC
Created attachment 107152 [details]
pdftocairo -png output
Comment 3 Jason Crain 2015-09-16 10:40:42 UTC
Created attachment 118312 [details] [review]
Use mask for even-odd fill

CairoOutputDev ignores the soft mask when doing even-odd fill.  This patch changes CairoOutputDev::eoFill to use the mask the same way CairoOutputDev::fill does a few lines prior.
Comment 4 Carlos Garcia Campos 2015-09-16 12:52:10 UTC
Pushed to git master, thanks!

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.