[Poppler-bugs] [Bug 75241] pdftops 0.25.1 -eps -level1sep creates an invalid EPS when tiling with a bitmap

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Feb 21 19:24:55 PST 2014


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

--- Comment #4 from William Bader <williambader at hotmail.com> ---
Created attachment 94547
  --> https://bugs.freedesktop.org/attachment.cgi?id=94547&action=edit
proposed patch to poppler/PreScanOutputDev to fix the problem

This patch fixes the problem with R84895 (by forcing it to be rasterized with
level1 output) without affecting any other of my test files.
The patch tracks when the prescan is inside a tiling pattern and sets the
patternImgMask flag in more cases.
This allows PreScanOutputDev::drawImage() to differentiate a normal image
(which is OK) from a tiling pattern (which requires rasterization with level1).
It also knows about the optimization in PSOutputDev::tilingPatternFill() that
does not use a tiling if only one instance of the pattern is required.
William

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20140222/16f02605/attachment.html>


More information about the Poppler-bugs mailing list