qt5base-lts/tests/auto/gui/text/qrawfont
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
..
qrawfont.pro Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
testfont_bold_italic.ttf Moved gui autotests into new directory structure 2011-09-01 10:59:49 +02:00
testfont.ttf Moved gui autotests into new directory structure 2011-09-01 10:59:49 +02:00
tst_qrawfont.cpp QRawFont: improve performance and safety of glyphIndexesForString() 2012-10-15 10:18:31 +02:00