TTF_GetFontFamilyName - Query a font's family name.
Contents
Availability
This function is available since SDL_ttf 3.0.0.
SDL_ttf SDL_ttf 3.2.2 TTF_GetFontFamilyName(3)
Description
This string is dictated by the contents of the font file.
Note that the returned string is to internal storage, and should not be modified or free'd by the caller.
The string becomes invalid, with the rest of the font, when font is handed to TTF_CloseFont ().
Function Parameters
font the font to query.
Header File
Defined in SDL3_ttf/SDL_ttf.h
Name
TTF_GetFontFamilyName - Query a font's family name.
Return Value
Returns the font's family name.
Synopsis
#include"SDL3_ttf/SDL_ttf.h"constchar*TTF_GetFontFamilyName(constTTF_Font*font);
Thread Safety
It is safe to call this function from any thread.
