TTF_FontHasGlyph - Man Page
Check whether a glyph is provided by the font for a UNICODE codepoint.
Header File
Defined in SDL3_ttf/SDL_ttf.h
Synopsis
#include "SDL3_ttf/SDL_ttf.h" bool TTF_FontHasGlyph(TTF_Font *font, Uint32 ch);
Function Parameters
- font
the font to query.
- ch
the codepoint to check.
Return Value
Returns true if font provides a glyph for this character, false if not.
Thread Safety
This function should be called on the thread that created the font.
Availability
This function is available since SDL_ttf 3.0.0.
Info
SDL_ttf 3.2.2 SDL_ttf3 FUNCTIONS