diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> | 2020-02-07 08:03:16 +0100 |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> | 2020-02-20 16:29:51 +0100 |
commit | ba50d27e7624cdfe90124b393576020de7608332 (patch) | |
tree | bc9edc0eb6758c38e474186af7e5938d49dfb641 /src/platformsupport/fontdatabases/windows/qwindowsnativeimage_p.h | |
parent | 3c0cd7566cf858d0fd23fecad5ef9faec798cf5f (diff) |
DirectWrite font db: Fix fallback fonts
The implementation of this was based on a misunderstanding of the API. The
GetMatchingFonts() function does not give a sorted list of fonts that
can be used in place of the given family, but just requests the fonts in
the family itself.
Instead, we use the same implementation as in the other two font databases
we have on Windows (moving the implementation to be shared).
Change-Id: I6a7b73e3d8376f7d97f598db0d7b63122ad1940c
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/platformsupport/fontdatabases/windows/qwindowsnativeimage_p.h')
0 files changed, 0 insertions, 0 deletions