qt5base-lts/tests/auto/gui/text
Konstantin Ritt 3e030a9652 QRawFont: improve performance and safety of glyphIndexesForString()
As of 98c1eb1750, partially initialized
QGlyphLayout is ok for stringToCMap() if GlyphIndicesOnly flag is set,
thus we can use the glyphIndexes buffer directly and avoid copying.
Also add some checks to guarantee we're not falling into an undefined behavior
for the empty text or NULL buffer.

Change-Id: I662953703e4c65edbebabbe4b753972417d963f3
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
2012-10-15 10:18:31 +02:00
..
qabstracttextdocumentlayout Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qcssparser Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qfont Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qfontdatabase Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qfontmetrics Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qglyphrun QGlyphRun: Fix isEmpty() and boundingRect() didn't work after setRawData() 2012-10-13 03:17:53 +02:00
qrawfont QRawFont: improve performance and safety of glyphIndexesForString() 2012-10-15 10:18:31 +02:00
qstatictext Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qsyntaxhighlighter Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qtextblock Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qtextcursor Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qtextdocument Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qtextdocumentfragment Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qtextdocumentlayout Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qtextformat Delete the QVariant ctors taking global Qt enum values. 2012-10-10 08:45:22 +02:00
qtextlayout Revert "Handle additional format ranges when itemizing." 2012-10-10 23:27:03 +02:00
qtextlist Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qtextobject Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qtextodfwriter Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qtextpiecetable Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qtextscriptengine Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qtexttable Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qzip Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
text.pro Start running some disabled tests again on Mac OS. 2012-04-23 09:46:22 +02:00