kkartaltepe / obs-text-pango

Text Source using Pango for OBS Studio
GNU General Public License v2.0
49 stars 16 forks source link

Reload fontconfig map after loading an external font file #28

Closed codeman38 closed 1 year ago

codeman38 commented 1 year ago

Newer pango versions require explicitly reloading the font map with pango_fc_font_map_config_changed after adding a font with FcConfigAppFontAddFile in order for it to be correctly displayed.

More details: https://gitlab.gnome.org/GNOME/gtk/-/issues/3886

kkartaltepe commented 1 year ago

Thanks for the fixes