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

TTF_RemoveFallbackFont

Remove a fallback font.

Header File

Defined in <SDL3_ttf/SDL_ttf.h>

Syntax

void TTF_RemoveFallbackFont(TTF_Font *font, TTF_Font *fallback);

Function Parameters

TTF_Font * font the font to modify.
TTF_Font * fallback the font to remove as a fallback.

Remarks

This updates any TTF_Text objects using this font.

Thread Safety

This function should be called on the thread that created both fonts.

Version

This function is available since SDL_ttf 3.0.0.

See Also


CategoryAPI, CategoryAPIFunction, CategorySDLTTF