[Poppler-bugs] [Bug 30692] pdftops does not crop

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Oct 13 11:26:30 PDT 2010


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

--- Comment #6 from William Bader <williambader at hotmail.com> 2010-10-13 11:26:30 PDT ---
Yes, I realize that the patch might break something.  I was just experimenting
to track down the location of the problem.

>if Page::makeBox goes by the last if, you don't need to crop since you are already using the cropbox as box for your rendering.

By inspection of the generated EPS, it is more complicated.  pdftops always
writes the correct BoundingBox comment, but it writes the postscript code to
create a clipping region only if "crop" is true.

If you view the EPS and the viewer clips the display window to the BoundingBox,
everything is OK, but if you print the EPS, the postscript clipping code is
necessary or else things might show that should have been clipped out.

This issue is a regression from the behavior of pdftops in xpdf.

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