faceCreate

fun faceCreate(blob: Blob, index: <Error class: unknown class>): Face

Constructs a new face object from the specified blob and a face index into that blob. This is used for blobs of file formats such as Dfont and TTC that can contain more than one face.

Return

The new face object

Since

0.9.2

Parameters

blob

#hb_blob_t to work upon

index

The index of the face within @blob