SDL_ttf
TTF_WasInit
int TTF_WasInit()
Query the initialization status of the truetype font API. You may, of course, use this before TTF_Init to avoid initializing twice in a row. Or use this to determine if you need to call TTF_Quit.
if(!TTF_WasInit() && TTF_Init()==-1) {
printf("TTF_Init: %s\n", TTF_GetError());
exit(1);
}
