summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@digia.com>2013-11-08 12:31:14 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-11-10 23:04:39 +0100
commitd4ade9d4ef785a96f0bd1a89acfdba8ec09324f6 (patch)
tree2838f121cd862e637a9150c6ca97b632485c1b83 /src/gui
parentf9399d69add411adf757e3390488ff57655833b7 (diff)
Request the glyph at the right subpixel offset
Change-Id: Iace18740565862f1c66e2d654a1a2e7bc1a16fc7 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/text/qfontengine_ft.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qfontengine_ft.cpp b/src/gui/text/qfontengine_ft.cpp
index 8c69ca9753..5f53a36629 100644
--- a/src/gui/text/qfontengine_ft.cpp
+++ b/src/gui/text/qfontengine_ft.cpp
@@ -1742,7 +1742,7 @@ glyph_metrics_t QFontEngineFT::alphaMapBoundingBox(glyph_t glyph, QFixed subPixe
glyphSet = &defaultGlyphSet;
}
}
- Glyph * g = glyphSet ? glyphSet->getGlyph(glyph) : 0;
+ Glyph * g = glyphSet ? glyphSet->getGlyph(glyph, subPixelPosition) : 0;
if (!g || g->format != format) {
face = lockFace();
FT_Matrix m = this->matrix;