diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2022-03-14 15:10:32 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-03-17 18:43:40 +0000 |
commit | fcd5a02886848533c22bca80879888c1ed694195 (patch) | |
tree | 1b320118a71fca220d68c3e3d745e99fbc02e4eb /src/network/ssl/qsslpresharedkeyauthenticator.h | |
parent | 6dd86d901f9eaf4cd4dac5b1d9e977eb2bed3feb (diff) |
Avoid populating font family aliases if family matched
When trying to match a font request to fonts in the database we might
end up with a mismatch due to the style not being available, but the
font family itself was.
If that's the case there's no point in trying to populate font aliases,
so we explicitly propagate this fact back to QFontDatabasePrivate::findFont
so that it can choose to not populate family aliases.
Fixes: QTBUG-98369
Fixes: QTBUG-99216
Change-Id: I14470554c73eace836f57cb65e63ada594ccf62e
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
(cherry picked from commit 69d525a6fa19934b3e57f503132bb4ab19f6b923)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/network/ssl/qsslpresharedkeyauthenticator.h')
0 files changed, 0 insertions, 0 deletions