| 22 | static std::map<std::string, Font*> fonts = {{"default", mainFont}}; // Clang appears to call InitializeFonts before the constructor for the map |
| 23 | |
| 24 | void RefreshFonts(){ |
| 25 | if(library) FT_Done_FreeType(library); |
| 26 | fontState = 0; |
| 27 | } |
| 28 | |
| 29 | __attribute__((constructor)) |
| 30 | void InitializeFonts(){ |
nothing calls this directly
no outgoing calls
no test coverage detected