faceSetIndex

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>

void
faceSetIndex

Parameters

face harfbuzz.face.Face

A face object

index uint

The index to assign