faceCreateForTables

Variant of harfbuzz.global.faceCreate, built for those cases where it is more convenient to provide data for individual tables instead of the whole font data. With the caveat that harfbuzz.global.faceGetTableTags does not currently work with faces created this way.

Creates a new face object from the specified user_data and reference_table_func, with the destroy callback.

Parameters

referenceTableFunc harfbuzz.types.ReferenceTableFunc

Table-referencing function

Return Value

Type: harfbuzz.face.Face

The new face object