TTF_GetGlyphScript(3)

TTF_GetGlyphScript3

Get the script used by a 32-bit codepoint.

Usage

#include "SDL3_ttf/SDL_ttf.h"

Uint32 TTF_GetGlyphScript(Uint32 ch);

Header file

Defined in SDL3_ttf/SDL_ttf.h

Function parameters

ch

the character code to check.

Return value

Returns an

ISO 15924 code ⟨URL: https://unicode.org/iso15924/iso15924-codes.html ⟩

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.

From libsdl3-ttf-doc 3.2.2+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.