path: root/tests/auto
diff options
authorJiang Jiang <>2011-10-18 15:11:07 +0200
committerQt by Nokia <>2011-10-24 11:04:04 +0200
commit8c13b6b21fcf71893c1cf24c05dd4a576ee43490 (patch)
tree6bbca0299b2fe69bb7da210b9059bf1ff01e0e1a /tests/auto
parent31d6ac13867957218fc9a974518b80e3e2d4742b (diff)
Keep Multi font engine in QFontCache
If we only keep single QFontEngineFT in QFontCache, then when we are looking for the MultiQPA next time with the same QFontDef, the FT engine will be returned and we get no font fallback support. That's why we need to keep the Multi engines in QFontCache as well and distinguish them from the single item. Since QPA doesn't use 'screen' field of QFontCache::Key structure, we use it here to indicate that we are caching a multi font engine. Change-Id: Id899d5c5ba52f4bccf134bcd6b1c6386ba22063c Reviewed-by: Eskil Abrahamsen Blomfeldt <>
Diffstat (limited to 'tests/auto')
0 files changed, 0 insertions, 0 deletions