Constructs a new face object from the specified blob and
a face index into that blob.
The face index is used for blobs of file formats such as TTC and
DFont that can contain more than one face. Face indices within
such collections are zero-based.
Note: If the blob font format is not a collection, index
is ignored. Otherwise, only the lower 16-bits of index are used.
The unmodified index can be accessed via hb_face_get_index().
Note: The high 16-bits of index, if non-zero, are used by
hb_font_create() to load named-instances in variable fonts. See
hb_font_create() for details.
Constructs a new face object from the specified blob and a face index into that blob.
The face index is used for blobs of file formats such as TTC and DFont that can contain more than one face. Face indices within such collections are zero-based.
indexis ignored. Otherwise, only the lower 16-bits ofindexare used. The unmodifiedindexcan be accessed viahb_face_get_index().index, if non-zero, are used byhb_font_create()to load named-instances in variable fonts. Seehb_font_create()for details.