<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - PRINTs landscape despite configured as portrait (Mac OS)"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=92190#c82">Comment # 82</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - PRINTs landscape despite configured as portrait (Mac OS)"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=92190">bug 92190</a>
from <span class="vcard"><a class="email" href="mailto:tml@iki.fi" title="Tor Lillqvist <tml@iki.fi>"> <span class="fn">Tor Lillqvist</span></a>
</span></b>
<pre>Telesto, you seem to be based in the Netherlands? Are you sure you can
reproduce the problem (and verify your simple fix, that of removing the +0.5
from the IN2MM100 macro), your printer presumably does not use Letter paper,
right?
Also, could you attach the patch to avoid confusion what it exactly looks like?
Anyway, as far as I see, for Letter size (8.5 in x 11 in), both the current
version of IN2MM100 and one without the +0.5 produce exactly the same number of
hundredths of millimetres for width and height:
IN2MM100(8.5)=21590, IN2MM100UNROUNDED(8.5)=21590
IN2MM100(11)=27940, IN2MM100UNROUNDED(11)=27940
or is the SAL_DEBUG not showing some very small difference in floating-point
values here?
that is with
+#define IN2MM100UNROUNDED( v ) \
+ ((long)(((v) * 2540)))
+</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>