Closed jkrumbiegel closed 5 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 95.38%. Comparing base (
d66f2aa
) to head (f4632ac
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
When people try rendering figures on multiple threads with CairoMakie, I usually see segfaults in FreeType. So this PR adds locks for each
FTFont
object and for the library, as FreeType is not thread-safe. Makie caches font objects, so multiple figures are bound to use the same font handles. The test I added segfaulted without the locks.