[Libreoffice-bugs] [Bug 92190] PRINTs landscape despite configured as portrait (Mac OS)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Nov 10 09:49:08 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=92190

--- Comment #82 from Tor Lillqvist <tml at iki.fi> ---
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)))
+

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20171110/18ec037b/attachment.html>


More information about the Libreoffice-bugs mailing list