qt5base-lts/tests/auto/gui/text/qfontdatabase
Eskil Abrahamsen Blomfeldt 5469d6a6cc Support loading variable fonts as application fonts in Freetype
When loading the fonts, we go through all the named instances
and register these as subfamilies. In addition to exposing these
variants by style name, we also register them with the according
weights, italic style and stretch. This adds a field to FontFile
to allow piping the instance index through to when we instantiate
the face.

[ChangeLog][Fonts] Added support for selecting named instances in
variable application fonts when using the Freetype backend.

Task-number: QTBUG-108624
Change-Id: I57ef6b4802756dd408c3aae1f8a6c792a89bee6a
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
2023-09-20 21:37:50 +02:00
..
.gitignore
BLACKLIST CI: Blacklist systemFixedFont for QNX 2022-03-02 15:27:36 +02:00
CMakeLists.txt Support loading variable fonts as application fonts in Freetype 2023-09-20 21:37:50 +02:00
LED_REAL_readme.txt Fix application font removal when using FontConfig 2014-03-27 14:41:53 +01:00
LED_REAL.TTF Fix application font removal when using FontConfig 2014-03-27 14:41:53 +01:00
tst_qfontdatabase.cpp Support loading variable fonts as application fonts in Freetype 2023-09-20 21:37:50 +02:00