Bug 84527 - Shadow not displayed correctly
Summary: Shadow not displayed correctly
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: 2014-09-30 19:38 UTC by Germán Poo-Caamaño
Modified: 2015-09-16 12:52 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
PDF test case (410.84 KB, application/pdf)
2014-09-30 19:38 UTC, Germán Poo-Caamaño
Details
Expected output (93.06 KB, image/jpeg)
2014-09-30 19:39 UTC, Germán Poo-Caamaño
Details
pdftocairo -png output (2.33 MB, image/png)
2014-09-30 19:40 UTC, Germán Poo-Caamaño
Details
Use mask for even-odd fill (1.03 KB, patch)
2015-09-16 10:40 UTC, Jason Crain
Details | Splinter Review

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.