qt5base-lts/tests/auto/gui
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
..
image Invalidate old QImage data if load()/loadFromData() has failed 2012-10-10 13:24:23 +02:00
itemmodels Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
kernel Do not skip tst_QClipboard::copy_exit_paste on QNX 2012-10-13 21:23:12 +02:00
math3d Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
painting Fixed cosmetic line drawing where begin and end points are equal. 2012-10-11 13:11:48 +02:00
qopengl Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
text QRawFont: improve performance and safety of glyphIndexesForString() 2012-10-15 10:18:31 +02:00
util Make QValidator tests do not require a QApplication 2012-10-13 05:51:19 +02:00
gui.pro Move QStandardItem/QStandardItemModel to QtGui 2012-06-29 22:42:19 +02:00