summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qfontengine_ft_p.h
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2014-03-05 11:13:02 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-05 13:45:54 +0100
commit34e560fc928d2b0fb78cff60f690f3094ec36ac0 (patch)
tree6e03a38f09f017e3157f9c2068a482d948d8bd9b /src/gui/text/qfontengine_ft_p.h
parentf697f3ceb6751cfa04338ac8a62ad54dfadad73d (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