GTK apps that try to get a list of fonts or use emoji crash
Recently on one of my machines I've been having a number of apps crash with similar errors.
When an app tries to render a piece of text containing emoji, it crashes with this message:
**
Pango:ERROR:../pango/pango/pangofc-fontmap.c:838:filter_fontset_by_format: assertion failed: (res == FcResultMatch)
Bail out! Pango:ERROR:../pango/pango/pangofc-fontmap.c:838:filter_fontset_by_format: assertion failed: (res == FcResultMatch)
Aborted (core dumped)
When an app (seemingly) tries to get a list of all fonts installed on the system, it crashes with this message:
**
Pango:ERROR:../pango/pango/pangofc-fontmap.c:1409:pango_fc_font_map_list_families: assertion failed: (res == FcResultMatch)
Bail out! Pango:ERROR:../pango/pango/pangofc-fontmap.c:1409:pango_fc_font_map_list_families: assertion failed: (res == FcResultMatch)
I have tried installing and uninstalling different fonts, and the issue still persists.
OS: Arch Linux amd64 Pango version (as reported by pacman): 1:1.44.6+2-1