summaryrefslogtreecommitdiffstats
path: root/tests/auto/shared/resources/testfont_italic.ttf
diff options
context:
space:
mode:
authorMårten Nordheim <marten.nordheim@qt.io>2018-11-09 17:56:08 +0100
committerMårten Nordheim <marten.nordheim@qt.io>2018-11-30 16:15:03 +0000
commit17ced070fd1e55948659bc37c421f98074910599 (patch)
tree2cc19157f873a7732ad4f470f8d6a872f5c42b5a /tests/auto/shared/resources/testfont_italic.ttf
parentd23d146175d6fab2ede50818777afe248ca0be23 (diff)
Read font selection flags and use them when querying for metrics
Certain fonts with multiple styles have the same family name. When loading these as application fonts we were not specific enough when querying for the text metrics. This meant that e.g. the bold version in a font family would get the metrics of the regular one. Fixes: QTBUG-67273 Change-Id: Ic988d62cddde0a1f77ddcaf2891cadc21c9b31e6 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io> Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'tests/auto/shared/resources/testfont_italic.ttf')
-rw-r--r--tests/auto/shared/resources/testfont_italic.ttfbin0 -> 64136 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/tests/auto/shared/resources/testfont_italic.ttf b/tests/auto/shared/resources/testfont_italic.ttf
new file mode 100644
index 0000000000..0a01f883f4
--- /dev/null
+++ b/tests/auto/shared/resources/testfont_italic.ttf
Binary files differ