diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2019-02-14 15:35:12 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-02-14 18:16:10 +0100 |
commit | a0bb480364c80192111ecab3501d63584e651ea3 (patch) | |
tree | 3128becf9b59af169ba9bc76bc9b6375559ae530 /formula | |
parent | bb2aebce94c01070565bb84493f10bcee0fec511 (diff) |
sw btlr writing mode layout: fix baseline offset
The problem was that the x position of the btlr text had a 159 twips
difference (it was too close to the cell border), since the text portion
height -> baseline offset calculation worked with the descent, not with
the ascent.
The position of the text now matches exactly what Word does.
As a side-effect this means that multiple portions in a line and also
multiple lines in a text frame now work correctly.
Change-Id: Ic139db328e2a913e5cae4026886c3410cdab357d
Reviewed-on: https://gerrit.libreoffice.org/67823
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'formula')
0 files changed, 0 insertions, 0 deletions