QXRenderGlyphCache: Add QColor parameter for QFontEngineFT::loadGlyphFor
Fixes build after commit 39df9e1858a4115bc19b6a4dee5d687c5ee00d21 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> (cherry picked from commit dc4f7e3ffad0a94a59b511b77463cd044c96fe07) (cherry picked from commit 198e8eb68e98f89df4a0f67d3428c9efcb0c1458)
This commit is contained in:
parent
085780b3d8
commit
ba550c4dcb
@ -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