queryPositionFeatures

open override fun queryPositionFeatures(face: Face, script: Script): List<String>(source)

Queries the position features available in the specified font face for a given script.

Position features define adjustments to glyph positioning during text shaping, such as kerning and positioning relative to baseline or other glyphs. This method returns a list of feature identifiers that represent the supported positioning capabilities in the context of the specified script.

Return

a list of strings, where each string is an identifier of a supported positioning feature.

Parameters

face

the font face to query. This specifies the source of typographic data and capabilities.

script

the script for which position features are being queried. It determines the writing system context (e.g., Latin, Arabic, Chinese).