qt5base-lts/tests/auto/gui/text
Eskil Abrahamsen Blomfeldt 67b1fa48be Update font when text format's letter spacing type is changed
The QTextFormat::FontLetterSpacingType property was added outside
the span of the FirstFontProperty and LastFontProperty, so
the fontDirty flag would not be set when it was changed. There is
no binary compatible way to fix this before Qt 6, so for now, we
add a special case for it.

[ChangeLog][QtGui][Text] Fixed an issue where changing the letter
spacing type of a QTextCharFormat would not cause its font to
update.

Task-number: QTBUG-65345
Change-Id: I5ab53d7f82d529b57edceacfc3fa688c6741cd17
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Reviewed-by: C. Boemann <cbo@boemann.dk>
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
2017-12-22 05:37:55 +00:00
..
qabstracttextdocumentlayout Make imageAt and formatAt more robus against different font metrics 2016-08-12 03:59:23 +00:00
qcssparser Remove references to obsolete platforms 2017-11-05 06:33:53 +00:00
qfont Blacklist tst_QFont::DefaultFamily in B2Qt 2017-08-16 07:32:09 +00:00
qfontcache Avoid synthesizing stretch on condensed font families 2016-08-15 11:39:44 +00:00
qfontdatabase Update usage of QFontMetrics::width() to new API 2017-12-08 15:06:32 +00:00
qfontmetrics Update usage of QFontMetrics::width() to new API 2017-12-08 15:06:32 +00:00
qglyphrun Accept error margin in QGlyphRun/QStaticText test for decorations 2017-02-02 15:10:41 +00:00
qinputcontrol Accept all formatting characters as valid input 2017-01-26 10:59:49 +00:00
qrawfont Added capHeight() to QRawFont and QFontMetrics(F) 2016-08-15 18:27:06 +00:00
qstatictext Update usage of QFontMetrics::width() to new API 2017-12-08 15:06:32 +00:00
qsyntaxhighlighter
qtextblock
qtextcursor Merge remote-tracking branch 'origin/5.6' into dev 2016-01-26 16:27:28 +01:00
qtextdocument Update usage of QFontMetrics::width() to new API 2017-12-08 15:06:32 +00:00
qtextdocumentfragment
qtextdocumentlayout
qtextformat Update font when text format's letter spacing type is changed 2017-12-22 05:37:55 +00:00
qtextlayout Update usage of QFontMetrics::width() to new API 2017-12-08 15:06:32 +00:00
qtextlist
qtextobject
qtextodfwriter
qtextpiecetable Change almost all other uses of qrand() to QRandomGenerator 2017-11-08 09:14:03 +00:00
qtextscriptengine Revert "Ignore thaiZWJ failure on RHEL 7.2" 2017-08-07 07:18:26 +00:00
qtexttable
qzip update testdata 2016-08-31 10:00:29 +00:00
text.pro Build examples and tests only if their requirements are met 2017-03-22 15:55:55 +00:00