freetypy.Face.attach

Face.attach()

‘Attach’ data to a face object.

Normally, this is used to read additional information for the face object. For example, you can attach an AFM file that comes with a Type 1 font to get the kerning values and other metrics.

Parameters:file (path, or readable file-like object) – The file containing the data to attach.