diff options
author | Konstantin Ritt <ritt.ks@gmail.com> | 2014-03-07 01:46:47 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-11 03:39:34 +0100 |
commit | 800232e1d3ebfbac28d07014a3c646ea00fcf6ad (patch) | |
tree | de84641436afca7605d57772e3e629e2d264a404 /src/platformsupport/fontdatabases/mac/qcoretextfontdatabase_p.h | |
parent | c3b2425791ec1e17a8b1e2f5b35b8e79176fc9c4 (diff) |
Fix custom font substitution list support
During the QPA refactoring, the custom font substitution list support
was lost by ignoring the font request's fallbackFamilies member
when the multi font engine gets created/initialized.
If fallbackFamilies is not empty, it should be prepended to the
font database default fallback families list. Also respect the
custom fallback families list in the cache key to avoid picking
a multi font engine with wrong fallbacks list.
Task-number: QTBUG-36628
Change-Id: Ie2b84b3a397bee4816f421cddf76a5375829f13a
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/platformsupport/fontdatabases/mac/qcoretextfontdatabase_p.h')
0 files changed, 0 insertions, 0 deletions