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