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

Regina Henschel <rb.hensc...@t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rb.hensc...@t-online.de
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #2 from Regina Henschel <rb.hensc...@t-online.de> ---
There is currently no way to avoid it. LibreOffice uses internally integral
unit twip in Writer and Calc and use integral 1/100 mm in Draw/Impress, file
save and API (macros).
1 twip = 127/72 * 1/100 mm and 1/100 mm = 72/127 twip.

So 5mm = 500 * 1/100 mm = 500 * 72/127 twip = 283.4645 twip, rounds down to 283
twip.
283 twip = 283 * 127/72 * 1/100mm = 499.1805 * 1/100mm, rounds down to 499 *
1/100mm = 4.99mm

4.99mm = 499 * 1/100 mm = 499 * 72/127 twip = 282.8976 twip, rounds up to 283
twip.

So with internal integral unit twip it is not possible to distinguish 4.99 mm
from 5.00 mm.

There had been discussions to change from integral 1/100 mm to a floating point
1/100 mm for to get better precision in internal unit conversions. That would
be such a huge change with danger of lot of regressions, that it cannot be done
on the side, but needs a paid developer over some time. So it is unlikely, that
an improvement will happen in the near term.

The problem is not restricted to column or table width.

*** This bug has been marked as a duplicate of bug 75915 ***

-- 
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