querySupportedScripts

Queries the scripts supported by the specified font face.

This function returns a list of scripts that the given font face can handle during text shaping. Each script represents a writing system, such as Latin, Arabic, or Chinese, that the font face supports for rendering text.

Return

a list of supported Script objects, where each Script describes a writing system supported by the specified font face.

Parameters

face

the font face for which the supported scripts are being queried. It determines the capabilities and supported writing systems of the font.