[Poppler-bugs] [Bug 72312] [patch] pdftops: Fixes/improvements for -origpagesizes

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Dec 16 05:53:54 PST 2013


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

--- Comment #22 from Till Kamppeter <till.kamppeter at gmail.com> ---
Created attachment 90837
  --> https://bugs.freedesktop.org/attachment.cgi?id=90837&action=edit
pdftops-origpagesizes-papersize-setpagedevice-fix.patch

Adrian, attached patch addresses your comment #14. pdfSetupPaper indeed only
does the setpagedevice to set the paper size. If the "-paper" argument is
supplied to pdftops it is called only one time in the setup section as with a
forced paper size the paper size does not change throughout the document's
pages. Without "-paper" ("-origpagesizes" or paperMatch mode) pdfSetupPaper has
only to be called when the page sizes change. The attached patch fixes this.

-- 
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/20131216/44b77447/attachment-0001.html>


More information about the Poppler-bugs mailing list