QXRenderGlyphCache: Add QColor parameter for QFontEngineFT::loadGlyphFor
Fixes build after commit 39df9e1858a4115bc19b6a4dee5d687c5ee00d21 Pick-to: 6.8 Change-Id: Ice151b27591470ae81e07953f50e1abf9244ea28 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 55a4c6e9fcb364a899da7dcb4e18f76158e38bb7) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
09590ee995
commit
dc4f7e3ffa
@ -2587,7 +2587,7 @@ bool QXRenderGlyphCache::addGlyphs(const QTextItemInt &ti,
|
||||
}
|
||||
}
|
||||
|
||||
glyph = ft->loadGlyphFor(glyphs[i], spp, glyphFormat(), transform());
|
||||
glyph = ft->loadGlyphFor(glyphs[i], spp, glyphFormat(), transform(), QColor());
|
||||
|
||||
if (glyph == 0 || glyph->format != glyphFormat())
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user