faceCreateForTables
fn
harfbuzz.face.Face faceCreateForTables(harfbuzz.types.ReferenceTableFunc referenceTableFunc)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 | Table-referencing function |
Returns
The new face object