qt5base-lts/tests/auto/gui/text
Tor Arne Vestbø 54dbdc26ba Move min left/right bearing calculations to QFontEngine baseclass
The logic used in the FreeType font engine can be generalized
and move to the QFontEngine baseclass. This allows the CoreText
font engine to correctly report the minimum left/right bearings,
which decreases the chance that an optimization in QTextLayout's
line breaking algorithm will produce wrong results.

The calculation of left and right bearing has been moved to the
glyph_metrics_t type to reduce code duplication. This allows us
to use the with and height of the bounding box to determine if
the glyph has any contours.

Change-Id: I864697d3f31ed56f22f04666199b6c5023c5e585
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
2015-09-02 09:11:31 +00:00
..
qabstracttextdocumentlayout Update copyright headers 2015-02-11 06:49:51 +00:00
qcssparser tests/auto/gui: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b). 2015-07-31 08:29:15 +00:00
qfont tests/auto/gui: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b). 2015-07-31 08:29:15 +00:00
qfontcache Don't expose qt_setQtEnableTestFont(bool) by default 2015-07-31 09:50:17 +00:00
qfontdatabase Update copyright headers 2015-02-11 06:49:51 +00:00
qfontmetrics Update copyright headers 2015-02-11 06:49:51 +00:00
qglyphrun Update copyright headers 2015-02-11 06:49:51 +00:00
qrawfont Blacklist and skip various tests that are flakey 2015-06-14 10:50:45 +00:00
qstatictext Update copyright headers 2015-02-11 06:49:51 +00:00
qsyntaxhighlighter tests/auto/gui: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b). 2015-07-31 08:29:15 +00:00
qtextblock tests/auto/gui: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b). 2015-07-31 08:29:15 +00:00
qtextcursor tests/auto/gui: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b). 2015-07-31 08:29:15 +00:00
qtextdocument tests/auto/gui: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b). 2015-07-31 08:29:15 +00:00
qtextdocumentfragment tests/auto/gui: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b). 2015-07-31 08:29:15 +00:00
qtextdocumentlayout Blacklist and skip various tests that are flakey 2015-06-14 10:50:45 +00:00
qtextformat tests/auto/gui: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b). 2015-07-31 08:29:15 +00:00
qtextlayout Move min left/right bearing calculations to QFontEngine baseclass 2015-09-02 09:11:31 +00:00
qtextlist tests/auto/gui: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b). 2015-07-31 08:29:15 +00:00
qtextobject Update copyright headers 2015-02-11 06:49:51 +00:00
qtextodfwriter Update copyright headers 2015-02-11 06:49:51 +00:00
qtextpiecetable tests/auto/gui: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b). 2015-07-31 08:29:15 +00:00
qtextscriptengine Update copyright headers 2015-02-11 06:49:51 +00:00
qtexttable tests/auto/gui: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b). 2015-07-31 08:29:15 +00:00
qzip QZip*: don't hold QZipReader::FileInfo in QList 2015-07-19 10:35:41 +00:00
text.pro Fix the font engines leaking 2013-03-20 07:02:29 +01:00