From ad320d873d27686ca0610ffd692f12131cc864ad Mon Sep 17 00:00:00 2001 From: Jiang Jiang Date: Tue, 8 Nov 2011 10:17:29 +0100 Subject: [PATCH] Fix default glyph node after qtbase refactor Change-Id: Ib08c1bcf33bafcee828169b3ddfa264bd010cfef Reviewed-by: Friedemann Kleint --- .../scenegraph/qsgdefaultglyphnode_p.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/declarative/scenegraph/qsgdefaultglyphnode_p.cpp b/src/declarative/scenegraph/qsgdefaultglyphnode_p.cpp index 649c543..3476ab1 100644 --- a/src/declarative/scenegraph/qsgdefaultglyphnode_p.cpp +++ b/src/declarative/scenegraph/qsgdefaultglyphnode_p.cpp @@ -208,7 +208,7 @@ void QSGTextMaskMaterial::populate(const QPointF &p, for (int i=0; isubPixelPositionForX(QFixed::fromReal(glyphPositions.at(i).x())); + subPixelPosition = fontD->fontEngine->subPixelPositionForX(QFixed::fromReal(glyphPositions.at(i).x())); QTextureGlyphCache::GlyphAndSubPixelPosition glyph(glyphIndexes.at(i), subPixelPosition); const QTextureGlyphCache::Coord &c = cache->coords.value(glyph); -- 1.7.2.5