(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

const TTF_Font * font the font to query.

Return Value

(long) Returns the number of FreeType font faces.

Version

This function is available since SDL_ttf 2.0.12.


CategoryAPI, CategoryAPIFunction