Request the glyph at the right subpixel offset
Change-Id: Iace18740565862f1c66e2d654a1a2e7bc1a16fc7 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
This commit is contained in:
parent
f9399d69ad
commit
d4ade9d4ef
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user