https://bugs.documentfoundation.org/show_bug.cgi?id=104712
--- Comment #2 from Mike Kaganski <[email protected]> ---
I suppose that this is the result of rounding error.
MS Word has virtually zero space between the last paragraph and margin.
LibreOffice exceeds the available body space (that is counted identically to MS
Word to be 12960 twips) by 35 twips = 0.617 mm. So, last line cannot fit and is
moved to new page.
As page layout is measured in integral twips, I suppose, any fractional text
height will be rounded up. Possibly that adds up with some yet another rounding
error, thus giving this result.
The commit above isn't the real cause of the problem, it just corrected
improper layout, that happened to reveal this corner case of rounding. Possibly
if we used floats for layouting (or some units much smaller than twips), that
could be mitigated somehow.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs