<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#c14">Comment # 14</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:ajohnson@redneon.com" title="Adrian Johnson <ajohnson@redneon.com>"> <span class="fn">Adrian Johnson</span></a>
</span></b>
<pre>While working on this I found another problem with the page size setup. With
-origpagesizes setpagedevice is output twice. The first time by the
pdfSetupPaper PS macro (which calls setoutputdevice) using imgURX, imgURY which
is the media box size. Then setpagedevice is output with width, height.
There is also this comment
// Set page size only when it actually changes, as otherwise Duplex
// printing does not work
so I'm not sure how this can be correct since the pdfSetupPaper is
unconditionally calling setpagedevice.
Till, could you look at this and see if it can be fixed to only output
setpagedevice once (preferably using the pdfSetupPaper macro since that is what
is used for mode = psModePS.</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>