.\" This manpage content is licensed under Creative Commons .\" Attribution 4.0 International (CC BY 4.0) .\" https://creativecommons.org/licenses/by/4.0/ .\" This manpage was generated from SDL_ttf's wiki page for TTF_Quit: .\" https://wiki.libsdl.org/SDL_ttf/TTF_Quit .\" Generated with SDL/build-scripts/wikiheaders.pl .\" revision 3~git20240320~6e260a2+ds-1 .\" Please report issues in this manpage's content at: .\" https://github.com/libsdl-org/sdlwiki/issues/new .\" Please report issues in the generation of this manpage from the wiki at: .\" https://github.com/libsdl-org/SDL/issues/new?title=Misgenerated%20manpage%20for%20TTF_Quit .\" SDL_ttf can be found at https://libsdl.org/projects/SDL_ttf .de URL \$2 \(laURL: \$1 \(ra\$3 .. .if \n[.g] .mso www.tmac .TH TTF_Quit 3 "SDL_ttf 3.0.0" "SDL_ttf" "SDL_ttf3 FUNCTIONS" .SH NAME TTF_Quit \- Deinitialize SDL_ttf\[char46] .SH SYNOPSIS .nf .B #include \(dqSDL3_ttf/SDL_ttf.h\(dq .PP .BI "void TTF_Quit(void); .fi .SH DESCRIPTION You must call this when done with the library, to free internal resources\[char46] It is safe to call this when the library isn't initialized, as it will just return immediately\[char46] Once you have as many quit calls as you have had successful calls to .BR TTF_Init , the library will actually deinitialize\[char46] Please note that this does not automatically close any fonts that are still open at the time of deinitialization, and it is possibly not safe to close them afterwards, as parts of the library will no longer be initialized to deal with it\[char46] A well-written program should call .BR TTF_CloseFont () on any open fonts before calling this function! .SH AVAILABILITY This function is available since SDL_ttf 3\[char46]0\[char46]0\[char46]