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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Dec 1 18:00:44 PST 2012


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

--- Comment #20 from William Bader <williambader at hotmail.com> ---
Created attachment 70901
  --> https://bugs.freedesktop.org/attachment.cgi?id=70901&action=edit
Alternate patch against the 1 Dec 12 git source that passes a crop flag

This patch adds virtual GBool needClipToCropBox() to OutputDev and PSOutputDev.
It returns gFalse in OutputDev and the value of a class variable in
PSOutputDev.
pdftops sets the flag when it creates a new PSOutputDev.
Page::createGfx() checks out->needClipToCropBox().
This changes the signature of PSOutputDev().  If that is bad, I can make a
function to set the flag.
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/20121202/f07cea00/attachment.html>


More information about the Poppler-bugs mailing list