Skip to main content

TTF_RemoveFallbackFont

Function TTF_RemoveFallbackFont 

Source
pub unsafe extern "C" fn TTF_RemoveFallbackFont(
    font: *mut TTF_Font,
    fallback: *mut TTF_Font,
)
Expand description

Remove a fallback font.

This updates any TTF_Text objects using this font.

Parameter: font the font to modify.

Parameter: fallback the font to remove as a fallback.

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

Available Since: This function is available since SDL_ttf 3.0.0.

See Also: TTF_AddFallbackFont

See Also: TTF_ClearFallbackFonts