diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-11-05 14:23:29 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-11-05 16:03:38 -0500 |
commit | 4db6068b827e100664c931b4d4aff3a5a2d7f996 (patch) | |
tree | 30672449dd2e025b4f3c89253e6cfd4be43f639a /lsan.supp | |
parent | 48875108896b34233cdb727ccfe8a25cbc16e311 (diff) | |
download | pango-4db6068b827e100664c931b4d4aff3a5a2d7f996.tar.gz |
fontconfig: Try harder to return a default face
pango_font_family_get_face() is documented as nullable,
so we are technically within our rights to return NULL,
but that is unexpected when passing NULL to get the
default face, and the family has faces. So, try a little
harder by returning the first face if we don't find
a face with the name "Regular".
Diffstat (limited to 'lsan.supp')
0 files changed, 0 insertions, 0 deletions