[Poppler-bugs] [Bug 31926] pdftops-0.15.2 -level1sep inverts the image mask polarity

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jan 23 18:45:04 PST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=31926

--- Comment #27 from William Bader <williambader at hotmail.com> 2011-01-23 18:45:04 PST ---
Created an attachment (id=42353)
 View: https://bugs.freedesktop.org/attachment.cgi?id=42353
 Review: https://bugs.freedesktop.org/review?bug=31926&attachment=42353

patch to fix level1 output in pdftops

This patch adds a check in PreScanOutputDev to set a new flag called
level1PSBug for -level1 and -level1sep if it finds an image with
state->getFillColorSpace()->getMode() == csPattern.  PSOutputDev now rasterizes
if either transparency or level1PSBug is set.  This corrects pdftops -level1
and -level1sep output both for the PDF attached to this bug and for the PDF
attached to bug 22216 https://bugs.freedesktop.org/show_bug.cgi?id=22216  The
affected files end up larger due to the rasterization, but it is better than
being small and wrong.
William

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list