faceSetIndex

fnvoid faceSetIndex(harfbuzz.face.Face face, uint index)

Assigns the specified face-index to face. Fails if the face is immutable.

<note>

Note

changing the index has no effect on the face itself

This only changes the value returned by [harfbuzz.global.faceGetIndex].</note>

Parameters

faceA face object
indexThe index to assign