diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> | 2024-05-02 14:30:57 +0200 |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> | 2024-05-21 07:24:03 +0200 |
commit | 99e94f10352fe333a92195ca6d5482392231f307 (patch) | |
tree | 7e0ad5bc9a6a72130998abb0ecf8f982bfd01eac /tests/auto/corelib/tools/quniquehandle/tst_quniquehandle.cpp | |
parent | daf494c58541ede53d3c592cf5af9ce5a447bf08 (diff) |
Support application fallbacks for common script
While common script typically adapts the surrounding script, it is
possible for strings of only punctuation (for instance) to remain
undetermined. In addition, Qt considers Latin and Common the same in
font matching, so in order to get merging for latin, we need to
conflate them in the application fallback API as well.
This also adds a couple of missing clears of caches (clearing
the font cache itself when adding a new fallback, since the
fallbacks are kept as part of the cached font engine + clearing
the fallback cache when adding a new application font, since the
new application font may be a fallback candidate).
Note: This also adds some missing removeApplicationFont() calls
from other tests, since these were causing issues with the
new test.
Task-number: QTBUG-124914
Change-Id: Idbfa0f6b492a9194eca67b57101e674f7b8a4ec4
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Diffstat (limited to 'tests/auto/corelib/tools/quniquehandle/tst_quniquehandle.cpp')
0 files changed, 0 insertions, 0 deletions