Hi Werner, I changed it by storing it in the module instead of FT_Library. Module instances are unique per FT_Library so I think there should be no threading problem. Please check in the MR.
https://gitlab.freedesktop.org/freetype/freetype/-/merge_requests/68/diffs Moazin
