[Libreoffice-bugs] [Bug 103010] export/import of this .doc document results in a modified layout

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Jun 15 17:34:53 UTC 2020


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

Justin L <jluth at mail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #6 from Justin L <jluth at mail.com> ---
This was fixed in 6.3.4 by commit dc83c34989b366a9740da062e7d7bdca73fd9890
Author: Miklos Vajna on Tue Oct 22 16:53:06 2019 +0200

    tdf#124770 sw layout: handle Word's take on italic formatting vs text break

    When it comes to finding out if a piece of text fits the currently line
    or not, Word simply measures the text width and the line width, and
    decides if we fit or not. This can have an effect that italic text (e.g.
    a "H" character) is slightly over the margin, but simplifies the layout.

    Writer tries to reserve a bit more space, so italic text is kept inside
    the margin, which leads to different layout in edge cases.

    This somewhat arbitrary "reserve a bit more space: decrease the usable
    line width by height / 12" mechanism was there since the initial import.
    Reuse a related compatibility flag (tab-over-margin, already set for
    imported-from-Word documents) to avoid this compensation to match what
    Word does.

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

-- 
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/20200615/416d1152/attachment.htm>


More information about the Libreoffice-bugs mailing list