qt6-bb10/tests/auto/gui/text/qfontdatabase
Mårten Nordheim f881d00a4f QWindowsFontDatabase: Check preferred family names for all fonts
The code was initially introduced in
9204b8c31e 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>
2019-11-29 09:31:21 +01:00
..
.gitignore
BLACKLIST winrt: Return monospace font for QFontDatabase::systemFont(QFontDatabase::FixedFont) 2019-05-15 18:08:01 +00: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
qfontdatabase.pro Make self-contained test of condensed font matching and width 2016-10-16 00:11:13 +00:00
testdata.qrc QWindowsFontDatabase: Check preferred family names for all fonts 2019-11-29 09:31:21 +01:00
tst_qfontdatabase.cpp QWindowsFontDatabase: Check preferred family names for all fonts 2019-11-29 09:31:21 +01:00