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

William Bader williambader at hotmail.com
Tue Oct 20 16:44:58 PDT 2015


The Adobe document  5001.DSC_Spec.pdf "PostScript Language Document Structuring Conventions Specification" Version 3.0, 25 September 1992, says on page 39 about the BoundingBox comment:
"This comment specifies the bounding box that encloses all marks painted on all pages of a document. That is, it must be a “high water mark” in all directions for marks made on any page. The four arguments correspond to the lower left ( llx , lly ) and upper right corners ( urx , ury ) of the bounding box in the default user coordinate system (PostScript units)."
and gives an example where the BoundingBox is the smallest rectangle that covers the PageBoundingBoxes of the pages in the document.

If you are worried about breaking things that depend on the current behavior of pdftops, would it work to add a command line option?  pdftops already has -origpagesize and -nocrop options.
Regards,William

To: poppler at lists.freedesktop.org
From: stefan.brandner at gmx.at
Date: Tue, 20 Oct 2015 19:02:03 +0200
Subject: [poppler] Printing of certain PDF files does not work with "fit-to-page" because of wrong BoundingBox values in the PostScript


  

    
  
  
    
    I am using the patch now for several month and I can prove it is working fine.
So if the code quality is ok for you Albert why not pushing it?

Regards
Stefan Brandner

El Dijous, 7 de maig de 2015, a les 09:34:09, Martin Pahl va escriure:
> Hi,
> 
> I sent patches to fix the bug:
> 
> https://bugs.freedesktop.org/show_bug.cgi?id=87161
> 
> Those patches were automatically sent to poppler-bugs mailing list. But as I
> see no reaction to my patch submission (poppler-bugs seems to be a
> mailinglist without human interaction)  I just want to ask, what is the
> right way to submit patches.

It is.

What we need is more people with time to review patches.

Cheers,
  Albert

> By the way this bug is really annoying as it makes all PDF viewers using
> poppler useless for printing documents that do not have the page size of the
> output device (e.g. printer). On the other hand acroread is not an
> alternative anymore as Adobe has discontinued support for Linux.
> 
> Regards,
> 
> Martin Pahl


  


_______________________________________________
poppler mailing list
poppler at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/poppler 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20151020/7a6ddfbf/attachment.html>


More information about the poppler mailing list