diff options
author | Konstantin Ritt <ritt.ks@gmail.com> | 2014-03-05 11:13:02 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-05 13:45:54 +0100 |
commit | 34e560fc928d2b0fb78cff60f690f3094ec36ac0 (patch) | |
tree | 6e03a38f09f017e3157f9c2068a482d948d8bd9b /src/gui/text/qfontengine_ft_p.h | |
parent | f697f3ceb6751cfa04338ac8a62ad54dfadad73d (diff) |
Optimize QFontEngineMulti::stringToCMap() in case of missing glyphs
Use recently introduced glyphIndex() method and only recalc advances
if the glyph is present in the font. This allows to avoid restoring
the old advance when the glyph was not found in the fallback fonts.
Change-Id: I3e0aa549961767e5448816327328101cf6a78873
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/gui/text/qfontengine_ft_p.h')
0 files changed, 0 insertions, 0 deletions