Skip to content
  • Nils Philippsen's avatar
    app: fix re-initializing fontconfig in gimp_fonts_reset() · 1c00c2e4
    Nils Philippsen authored
    Calling FcConfigSetCurrent() with NULL is just broken, it almost
    immediately dereferences the passed pointer. Apparently this line
    is executed seldom, otherwise we'd see way more crashes in this place.
    Just use FcInitReinitialize() which exists for the very purpose of
    reinitializing the fontconfig library.
    1c00c2e4