<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [patch] pdftops: Fixes/improvements for -origpagesizes"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=72312#c22">Comment # 22</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [patch] pdftops: Fixes/improvements for -origpagesizes"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=72312">bug 72312</a>
              from <span class="vcard"><a class="email" href="mailto:till.kamppeter@gmail.com" title="Till Kamppeter <till.kamppeter@gmail.com>"> <span class="fn">Till Kamppeter</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=90837" name="attach_90837" title="pdftops-origpagesizes-papersize-setpagedevice-fix.patch">attachment 90837</a> <a href="attachment.cgi?id=90837&action=edit" title="pdftops-origpagesizes-papersize-setpagedevice-fix.patch">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=72312&attachment=90837'>[review]</a>
pdftops-origpagesizes-papersize-setpagedevice-fix.patch

Adrian, attached patch addresses your <a href="show_bug.cgi?id=72312#c14">comment #14</a>. 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.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>