vfbLib.tth.extract_truetype_hinting

vfbLib.tth.extract_truetype_hinting(vfb: Vfb) dict[str, Any]

Collect the relevant entries from the VFB and extract the hinting information by calling a specialized function for each data type. The hinting information is returned as a dict which can be serialized in the desired format.

Parameters:

vfb (Vfb) – The input VFB.

Returns:

The extracted TrueType hinting information.

Return type:

dict[str, Any]