We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59bd316 commit abbaf5bCopy full SHA for abbaf5b
1 file changed
graf2d/graf/src/TTF.cxx
@@ -83,7 +83,11 @@ thread_local TTFhandle::FT_Library_Wrapper TTFhandle::fFT_Library;
83
84
////////////////////////////////////////////////////////////////////////////////
85
86
-TTFhandle::TTFhandle() = default;
+TTFhandle::TTFhandle()
87
+{
88
+ // Ensure that there's a freetype library in our thread
89
+ fFT_Library.Get();
90
+}
91
92
93
0 commit comments