summaryrefslogtreecommitdiffstats
path: root/tests/auto/shared/resources/testfont_variable.ttf
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2023-07-06 13:16:50 +0200
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2023-09-20 21:37:50 +0200
commit5469d6a6cc741cc8fb2adec3cd08c39b8ef6c75a (patch)
tree8056b93ff84a8ccacc58f35299c1e76a7dc294fb /tests/auto/shared/resources/testfont_variable.ttf
parent3aff1e16780a5b5e132e24fb9b44c22720beb767 (diff)
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>
Diffstat (limited to 'tests/auto/shared/resources/testfont_variable.ttf')
-rw-r--r--tests/auto/shared/resources/testfont_variable.ttfbin0 -> 30660 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/tests/auto/shared/resources/testfont_variable.ttf b/tests/auto/shared/resources/testfont_variable.ttf
new file mode 100644
index 0000000000..f183b9333d
--- /dev/null
+++ b/tests/auto/shared/resources/testfont_variable.ttf
Binary files differ