diff options
author | Jordi Pujol Foyo <jordi@vikingsoftware.com> | 2020-05-08 15:23:21 +0200 |
---|---|---|
committer | Jordi Pujol Foyo <jordi@vikingsoftware.com> | 2020-08-26 16:40:10 +0200 |
commit | 560117351cd1e032c30e2691a2e933e3ebb84edd (patch) | |
tree | 9134bc2119f5ae0089642aeff842a4c67894a2bd /src/gui/kernel | |
parent | cba2d0443411b937586f259059e7f14c1cf5b512 (diff) |
Allow arbitrary baseline shift in QTextCharacterFormat
Added 6 new methods in QTextFormat and QTextDocument to
allow setting/getting specific % positioning for baseline and super/
subscript. Modified QTextLayout to honor those new settings.
[ChangeLog][QtGui][QTextLayout,QTextFormat,QTextDocument] Allow text
layout modification based on baseline offset and super/subscript % height
positioning
Fixes: QTBUG-18260
Change-Id: I0796f18224aac8df6baf8359c35022fd98fe64ef
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src/gui/kernel')
0 files changed, 0 insertions, 0 deletions