summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qfontmetrics.cpp
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2012-07-09 17:08:54 +0300
committerQt by Nokia <qt-info@nokia.com>2012-07-10 03:23:46 +0200
commit5cf93c435228af9527f42aea32585cb156d78826 (patch)
tree22a056b784adfb5b1cbb88583aca6498b3385115 /src/gui/text/qfontmetrics.cpp
parent98c1eb1750498cdff9d3b26658e5e5be9c026c92 (diff)
Fix the UCS-2 surrogates handling in Q*FontEndine*::stringToCmap()
by making sure QGlyphLayout's numGlyphs member is properly initialized if the string-to-glyphs lookup was successful (tip: a surrogate pair produces a single glyph index). Change-Id: I01953f3b6281d79e1a214bfab0424e796d94769a Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Diffstat (limited to 'src/gui/text/qfontmetrics.cpp')
0 files changed, 0 insertions, 0 deletions