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

--- Comment #82 from Tor Lillqvist <t...@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.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to