diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2022-04-11 22:10:30 +0200 |
---|---|---|
committer | Christoph Reiter <reiter.christoph@gmail.com> | 2022-04-11 22:14:28 +0200 |
commit | cade006c9ef7cbbd1aefbf5c12a2c74151f031c8 (patch) | |
tree | 628f4ab1677ceb1f95d66c90845b6fd1231f6a4f /tools | |
parent | d152b1bae9153476cf057f816ae3ce96b7b538a8 (diff) | |
download | pango-cade006c9ef7cbbd1aefbf5c12a2c74151f031c8.tar.gz |
pangowin32: try harder to load a font
load_fontset() in pangowin32 has various fallback code in case
no font is found, but load_font() doesn't and just returns NULL
in more cases.
I saw that the other backends like fc and coretext just call
load_fontset() in load_font() and return the first one.
This copies this strategy to the win32 backend.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions