ReferenceTableFunc


Description:

[ CCode ( cname = "hb_reference_table_func_t" , instance_pos = 2.9 ) ]
public delegate Blob ReferenceTableFunc (Face face, Tag tag)

Callback function for create_for_tables.

The tag is the tag of the table to reference, and the special tag HB_TAG_NONE is used to reference the blob of the face itself. If referencing the face blob is not possible, it is recommended to set hb_get_table_tags_func_t on the face to allow reference_blob to create a face blob out of individual table blobs.

Parameters:

face

an Face to reference table for

tag

the tag of the table to reference

user_data

User data pointer passed by the caller

Returns:

A pointer to the tag table within face or `NULL` if the table is not found or cannot be referenced.


Namespace: HarfBuzz