(This function is part of SDL_ttf, a separate library from SDL.)

TTF_FontFaces

Query the number of faces of a font.

Header File

Defined in SDL_ttf.h

Syntax

long TTF_FontFaces(const TTF_Font *font);

Function Parameters

font the font to query.

Return Value

Returns the number of FreeType font faces.

Version

This function is available since SDL_ttf 3.0.0.


CategoryAPI, CategoryAPIFunction