Skip to main content

TTF_GetGlyphScript

Function TTF_GetGlyphScript 

Source
pub unsafe extern "C" fn TTF_GetGlyphScript(ch: Uint32) -> Uint32
Expand description

Get the script used by a 32-bit codepoint.

Parameter: ch the character code to check.

Returns: an ISO 15924 code on success, or 0 on failure; call SDL_GetError() for more information.

Thread Safety: This function is thread-safe.

Available Since: This function is available since SDL_ttf 3.0.0.

See Also: TTF_TagToString