DOKK / manpages / debian 13 / libsdl3-ttf-doc / TTF_GetGlyphScript.3.en
TTF_GetGlyphScript(3) SDL_ttf3 FUNCTIONS TTF_GetGlyphScript(3)

TTF_GetGlyphScript - Get the script used by a 32-bit codepoint.

Defined in SDL3_ttf/SDL_ttf.h

#include "SDL3_ttf/SDL_ttf.h"
Uint32 TTF_GetGlyphScript(Uint32 ch);

the character code to check.

Returns an


⟨URL: ⟩

on success, or 0 on failure; call SDL_GetError() for more information.

This function is thread-safe.

This function is available since SDL_ttf 3.0.0.

(3), TTF_TagToString(3)

SDL_ttf 3.2.2 SDL_ttf