init static method
Initialize SDL_ttf.
You must successfully call this function before it is safe to call any other function in this library.
It is safe to call this more than once, and each successful TTF_Init() call should be paired with a matching TTF_Quit() call.
\returns true on success or false on failure; call SDL_GetError() for more information.
\since This function is available since SDL_ttf 3.0.0.
\sa TTF_Quit
extern SDL_DECLSPEC bool SDLCALL TTF_Init(void)
Implementation
static bool init() {
return ttfInit();
}