Function

HarfBuzz-0.0HarfBuzzface_createSince 0.9.2

  • 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.

    Parameters

    Returns face_t

    The new face object

    0.9.2