[Poppler-bugs] [Bug 87161] Printing of certain PDF files does not work with "fit-to-page" because of wrong BoundingBox values in the PostScript

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Oct 28 17:10:04 PDT 2015


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

--- Comment #13 from William Bader <williambader at hotmail.com> ---
Created attachment 119271
  --> https://bugs.freedesktop.org/attachment.cgi?id=119271&action=edit
simple multi-page example

The attached file is a simple example made by one of the people who reported
the problem.  If you run "pdftops -paper A4 example-all.pdf" and then open the
resulting postscript pages in "gv" (or any viewer capable of toggling between
an A4 view and a bounding box view), the bounding box view will show empty
space or only a small portion of the image because pdftops with -paper shifts
and scales the image to fit A4 but does not apply the same transform to the
bounding box, so the bounding box remains at the lower left corner of the page.
The same also happens with the addition of the pdftops "-expand" option.
Some of the discussion on the poppler list mentioned applications that use
poppler like okular and CUPS, but the core issue is that pdftops with -paper
generates an incorrect PageBoundingBox comment.

-- 
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/20151029/ebb4aef4/attachment.html>


More information about the Poppler-bugs mailing list