<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>I can look at the C++ code to check that the code does what it claims to do.<div><br></div><div>I think that what it claims to do is correct, but I work mostly with single page documents, so someone who knows more about DSCs should look at that.</div><div><br></div><div>Regards,</div><div>William<br><br><div>> From: aacid@kde.org<br>> To: poppler@lists.freedesktop.org<br>> Date: Fri, 23 Oct 2015 00:02:01 +0200<br>> Subject: Re: [poppler] Printing of certain PDF files does not work with "fit-to-page" because of wrong BoundingBox values in the PostScript<br>> <br>> El Thursday 22 October 2015, a les 04:12:41, William Bader va escriure:<br>> > Hi Stefan,<br>> > <br>> > I am a poppler user, not a popper maintainer. I can't push changes. Sorry.<br>> <br>> But you can review them. Pushing is very easy, it's the review part that is <br>> hard.<br>> <br>> Cheers,<br>>   Albert<br>> <br>> > <br>> > Regards,<br>> > William<br>> > <br>> > From: stefan.brandner@gmx.at<br>> > To: williambader@hotmail.com; poppler@lists.freedesktop.org<br>> > Subject: Aw: RE: [poppler] Printing of certain PDF files does not work with<br>> > "fit-to-page" because of wrong BoundingBox values in the PostScript Date:<br>> > Thu, 22 Oct 2015 09:18:11 +0200<br>> > <br>> > <br>> > This printing problem appear at pdf files which are coming from scanner.<br>> > <br>> > Since years there are reports of this problem:<br>> > <br>> > https://forum.kde.org/viewtopic.php?f=20&t=97572<br>> > <br>> > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=761487<br>> > <br>> > https://bugs.kde.org/show_bug.cgi?id=338456<br>> > <br>> > https://bugs.kde.org/show_bug.cgi?id=195719<br>> > <br>> > <br>> > <br>> > <br>> > We now found the root cause and have a fix.<br>> > <br>> > <br>> > <br>> > So if Albert has no time at all I wonder if you (William) can take over this<br>> > solution and push it.<br>> > <br>> > As Martin Pahl wrote he is willing to support and explain his code.<br>> > <br>> > <br>> > <br>> > Regards<br>> > <br>> > Stefan<br>> > <br>> > <br>> > <br>> > <br>> > Gesendet: Mittwoch, 21. Oktober 2015 um 01:44 Uhr<br>> > <br>> > Von: "William Bader" <williambader@hotmail.com><br>> > <br>> > An: "Stefan Brandner" <stefan.brandner@gmx.at>,<br>> > "poppler@lists.freedesktop.org" <poppler@lists.freedesktop.org><br>> > <br>> > Betreff: RE: [poppler] Printing of certain PDF files does not work with<br>> > "fit-to-page" because of wrong BoundingBox values in the PostScript<br>> > <br>> > <br>> > <br>> > <br>> > The Adobe document  5001.DSC_Spec.pdf "PostScript Language Document<br>> > Structuring Conventions Specification" Version 3.0, 25 September 1992, says<br>> > on page 39 about the BoundingBox comment:<br>> > <br>> > <br>> > "This comment specifies the bounding box that encloses all marks painted on<br>> > all pages of a document. That is, it must be a “high water mark” in all<br>> > directions for marks made on any page. The four arguments correspond to the<br>> > lower left ( llx , lly ) and upper right corners ( urx , ury ) of the<br>> > bounding box in the default user coordinate system (PostScript units)."<br>> > <br>> > <br>> > <br>> > and gives an example where the BoundingBox is the smallest rectangle that<br>> > covers the PageBoundingBoxes of the pages in the document.<br>> > <br>> > <br>> > <br>> > If you are worried about breaking things that depend on the current behavior<br>> > of pdftops, would it work to add a command line option?  pdftops already<br>> > has -origpagesize and -nocrop options.<br>> > <br>> > <br>> > <br>> > Regards,<br>> > <br>> > William<br>> > <br>> > <br>> > <br>> > To: poppler@lists.freedesktop.org<br>> > <br>> > From: stefan.brandner@gmx.at<br>> > <br>> > Date: Tue, 20 Oct 2015 19:02:03 +0200<br>> > <br>> > Subject: [poppler] Printing of certain PDF files does not work with<br>> > "fit-to-page" because of wrong BoundingBox values in the PostScript<br>> > <br>> > <br>> > <br>> > I am using the patch now for several month and I can prove it is working<br>> > fine. So if the code quality is ok for you Albert why not pushing it?<br>> > <br>> > Regards<br>> > Stefan Brandner<br>> > <br>> > El Dijous, 7 de maig de 2015, a les 09:34:09, Martin Pahl va escriure:<br>> > > Hi,<br>> > > <br>> > > I sent patches to fix the bug:<br>> > > <br>> > > https://bugs.freedesktop.org/show_bug.cgi?id=87161<br>> > > <br>> > > Those patches were automatically sent to poppler-bugs mailing list. But as<br>> > > I see no reaction to my patch submission (poppler-bugs seems to be a<br>> > > mailinglist without human interaction)  I just want to ask, what is the<br>> > > right way to submit patches.<br>> > <br>> > It is.<br>> > <br>> > What we need is more people with time to review patches.<br>> > <br>> > Cheers,<br>> >   Albert<br>> > <br>> > > By the way this bug is really annoying as it makes all PDF viewers using<br>> > > poppler useless for printing documents that do not have the page size of<br>> > > the output device (e.g. printer). On the other hand acroread is not an<br>> > > alternative anymore as Adobe has discontinued support for Linux.<br>> > > <br>> > > Regards,<br>> > > <br>> > > Martin Pahl<br>> > <br>> > _______________________________________________ poppler mailing list<br>> > poppler@lists.freedesktop.org<br>> > http://lists.freedesktop.org/mailman/listinfo/poppler<br>> <br>> _______________________________________________<br>> poppler mailing list<br>> poppler@lists.freedesktop.org<br>> http://lists.freedesktop.org/mailman/listinfo/poppler<br></div></div>                                           </div></body>
</html>