Created attachment 145351 [details] Reproducer document. Steps to reproduce: 1) Open the attached document in Writer. 2) Check the number of lines in the laid out text. Expected result: single line, as Word 2016 does it, given that the Word-specific TabOverMargin compat mode is enabled. Actual result: layout has 2 lines. (If TabOverMargin is false, then we don't emulate Word and it makes sense to still lay out text in 2 lines.)
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=54204d53eb4854715500edc064123e8d687381b2 tdf#120287 sw layout, TabOverMargin: imply PrinterIndependentLayout=high-res It will be available in 6.2.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Created attachment 145379 [details] Second reproducer. Similar related problem. Expected result: "a b c d e" is rendered at the end of the first line. (Same what Word does.) Actual result: only "a b c" is visible, and even that is rendered outside the body paint area. (The line break position is correct, though.)
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=cb2f30897ca5d9ced5b4a4d801af6f0a22c98cc0 Related: tdf#120287 sw layout, TabOverMargin: fix too wide tab portion It will be available in 6.2.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Created attachment 145465 [details] Third reproducer. One more related problem: in this case we render text outside the paragraph area, expected is 3 lines, actual is 2 lines.
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=cb9ba1c2d0202b1932b637d83a9458879a1f2e6a Related: tdf#120287 sw layout, TabOverMargin: fix left margin handling It will be available in 6.2.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.