table of contents
other versions
- unstable 3.1.0+ds-1
- experimental 3~git20250124~a7040ba+ds-1
TTF_GetGlyphScript(3) | SDL_ttf3 FUNCTIONS | TTF_GetGlyphScript(3) |
NAME¶
TTF_GetGlyphScript - Get the script used by a 32-bit codepoint.
HEADER FILE¶
Defined in SDL3_ttf/SDL_ttf.h
SYNOPSIS¶
#include "SDL3_ttf/SDL_ttf.h"
Uint32 TTF_GetGlyphScript(Uint32 ch);
FUNCTION PARAMETERS¶
- ch
- the character code to check.
RETURN VALUE¶
Returns a script tag in the format used by HarfBuzz on success, or 0 on failure; call SDL_GetError() for more information.
THREAD SAFETY¶
This function is thread-safe.
AVAILABILITY¶
This function is available since SDL_ttf 3.0.0.
SDL_ttf 3.1.0 | SDL_ttf |