[Poppler-bugs] [Bug 41374] New: pdftops 0.18.0 makes some files twice as large
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Sep 30 16:53:34 PDT 2011
https://bugs.freedesktop.org/show_bug.cgi?id=41374
Summary: pdftops 0.18.0 makes some files twice as large
Product: poppler
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: utils
AssignedTo: poppler-bugs at lists.freedesktop.org
ReportedBy: williambader at hotmail.com
Created an attachment (id=51823)
--> (https://bugs.freedesktop.org/attachment.cgi?id=51823)
patch to fix the problem
A recent change to PSOutputDev::tilingPatternFill() causes pdftops to create
much larger files than before.
The change is the test "if (x1 - x0 == 1 && y1 - y0 == 1) return gFalse;".
This causes it to rasterize images that it didn't need to before.
I have a 4 MB PDF file that produced a 7 MB PS with earlier versions of pdftops
but produces a 13 MB PS with 0.18.0. Patching 0.18.0 to remove the new test
fixes the regression.
4077301 output-pdftopsbug.pdf
7707105 output-pdftopsbug.ps-0.18.0-patched
13608797 output-pdftopsbug.ps-0.18.0-original
7753390 output-pdftopsbug.ps-git-12aug11
--
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