diff options
author | MÃ¥rten Nordheim <marten.nordheim@qt.io> | 2018-12-05 12:34:52 +0100 |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> | 2019-11-29 09:31:21 +0100 |
commit | f881d00a4f37fcf244be8f93235b9c970aa1a9aa (patch) | |
tree | bda758f944478884fe47473b6d707f943848a827 /tests/auto/shared | |
parent | 00c869a5c605d7f82146c5a1d3f4f80ca706ca16 (diff) |
QWindowsFontDatabase: Check preferred family names for all fonts
The code was initially introduced in
9204b8c31ea1b5f0c05870c5b5d74c33b1a4f622 but getting the names were
conditioned on whether or not Windows identified it as a truetype font.
This excluded cases which had preferred names embedded but was not
truetype fonts. To fix that we run the code unconditionally.
[ChangeLog][Windows] Fixed a bug where some fonts would not be
accessible by referencing their typographic name.
Fixes: QTBUG-78556
Change-Id: I8823684b09cce3b1b8722b1e609a5bb49b13da13
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'tests/auto/shared')
-rw-r--r-- | tests/auto/shared/resources/testfont_open.otf | bin | 0 -> 62676 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/tests/auto/shared/resources/testfont_open.otf b/tests/auto/shared/resources/testfont_open.otf Binary files differnew file mode 100644 index 0000000000..0f7950f2dd --- /dev/null +++ b/tests/auto/shared/resources/testfont_open.otf |