qt6-bb10/tests/auto/gui/text/qfontdatabase
Eskil Abrahamsen Blomfeldt 99e94f1035 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>
2024-05-21 07:24:03 +02:00
..
.gitignore Moved gui autotests into new directory structure 2011-09-01 10:59:49 +02:00
BLACKLIST CI: Blacklist systemFixedFont for QNX 2022-03-02 15:27:36 +02:00
CMakeLists.txt Support application fallbacks for common script 2024-05-21 07:24:03 +02:00
LED_REAL.TTF Fix application font removal when using FontConfig 2014-03-27 14:41:53 +01:00
LED_REAL_readme.txt Fix application font removal when using FontConfig 2014-03-27 14:41:53 +01:00
QtTestFallbackFont-Regular.ttf Support application fallbacks for common script 2024-05-21 07:24:03 +02:00
QtTestLimitedFont-Regular.ttf Support application fallbacks for common script 2024-05-21 07:24:03 +02:00
tst_qfontdatabase.cpp Support application fallbacks for common script 2024-05-21 07:24:03 +02:00