[Libreoffice-bugs] [Bug 112497] Inter-line spacing for multiline text needs more love

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Sep 21 13:15:40 UTC 2017


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

V Stuart Foote <vstuart.foote at utsa.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |erack at redhat.com
         Resolution|---                         |DUPLICATE

--- Comment #10 from V Stuart Foote <vstuart.foote at utsa.edu> ---
Don't see an issue here that needs attention other than what is required for
bug 108555. Resolved DUPLICATE.

Calculation of line heights for wrapped text in a table cell (the object in
calc sheet and writer tables) is now picking the consistently "correct" line
height based on internal leading of the font [1][2]. This is the same value of
single line or %100 height of a paragraph object created with the font.

IIUC it is also the value used in calc when vertical distribution is applied to
reformat the cell(s). So with line wrap on and use-optimized the table cell
gets vertical size for a line spacing at 100% of its calculated font height.
That is now consistent cross platform. And that closed bug 108891.

Adding any more interline spacing requires use of a multiplier for the line
spacing, either fixed or user set proportional--that is bug 108555. And this
should be duplicated to that.

=-ref-=
[1] Khaled's work on bug 55469
https://cgit.freedesktop.org/libreoffice/core/commit/?id=34d7602954d4483b3bc9db700e7df2c15348947a

[2] Caolan's correction of rounding errors in leading.

https://cgit.freedesktop.org/libreoffice/core/commit/?id=0c8b749e602b6743857a9bc4efb24b6183690311

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

-- 
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/20170921/86c4ecf8/attachment.html>


More information about the Libreoffice-bugs mailing list