diff options
author | Konstantin Ritt <ritt.ks@gmail.com> | 2012-07-02 18:15:56 +0300 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-03 00:44:15 +0200 |
commit | fa00407acf2a87ecf920ab620ade31102287092a (patch) | |
tree | a99bd599ecb62a1a854a4b537a29994325776b89 /tests | |
parent | ca456f34b0a7c6229f43bb932b3aaa2d15ce8740 (diff) |
shapeTextWithHarfbuzz() minor optimization
If the used font engine is of type QFontEngine::Multi, then we already have
both the "font engine runs" and the stripped glyph indicies for the kerning
-> just call the actual font engine's doKerning() method.
If the font engine is not of type QFontEngine::Multi, then we could safely
avoid the glyph indicies extra manipulations.
Change-Id: Ia8899e6d7beecfd391b050683ac41c21465336e4
Reviewed-by: Jiang Jiang <jiang.jiang@nokia.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions