f881d00a4f
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>
10 lines
459 B
Plaintext
10 lines
459 B
Plaintext
<RCC>
|
|
<qresource prefix="/">
|
|
<file>LED_REAL.TTF</file>
|
|
<file alias="testfont.ttf">../../../shared/resources/testfont.ttf</file>
|
|
<file alias="testfont_condensed.ttf">../../../shared/resources/testfont_condensed.ttf</file>
|
|
<file alias="testfont_italic.ttf">../../../shared/resources/testfont_italic.ttf</file>
|
|
<file alias="testfont_open.otf">../../../shared/resources/testfont_open.otf</file>
|
|
</qresource>
|
|
</RCC>
|