table of contents
other versions
TTF_GlyphIsProvided32(3) | SDL_ttf3 FUNCTIONS | TTF_GlyphIsProvided32(3) |
NAME¶
TTF_GlyphIsProvided32 - Check whether a glyph is provided by the font for a 32-bit codepoint.
HEADER FILE¶
Defined in SDL3_ttf/SDL_ttf.h
SYNOPSIS¶
#include "SDL3_ttf/SDL_ttf.h"
SDL_bool TTF_GlyphIsProvided32(TTF_Font *font, Uint32 ch);
DESCRIPTION¶
This is the same as TTF_GlyphIsProvided (), but takes a 32-bit character instead of 16-bit, and thus can query a larger range. If you are sure you'll have an SDL_ttf that's version 2.0.18 or newer, there's no reason not to use this function exclusively.
FUNCTION PARAMETERS¶
RETURN VALUE¶
Returns SDL_TRUE if font provides a glyph for this character, SDL_FALSE if not.
AVAILABILITY¶
This function is available since SDL_ttf 3.0.0.
SDL_ttf 3.0.0 | SDL_ttf |