diff options
-rw-r--r-- | src/gui/text/qfontengine_ft.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/text/qfontengine_ft.cpp b/src/gui/text/qfontengine_ft.cpp index ecb717ec56..c43ccd0608 100644 --- a/src/gui/text/qfontengine_ft.cpp +++ b/src/gui/text/qfontengine_ft.cpp @@ -1823,6 +1823,13 @@ QImage *QFontEngineFT::lockedAlphaMapForGlyph(glyph_t glyphIndex, QFixed subPixe gset = 0; } + if (gset) { + FT_Matrix m = matrix; + FT_Matrix_Multiply(&gset->transformationMatrix, &m); + FT_Set_Transform(freetype->face, &m, 0); + freetype->matrix = m; + } + if (!gset || gset->outline_drawing || !loadGlyph(gset, glyphIndex, subPixelPosition, neededFormat)) { unlockFace(); |