FL.vfb.reader.VfbToFontReader

class FL.vfb.reader.VfbToFontReader(vfb_path: Path)

Bases: object

Instantiate the Font object and all related objects from a vfbLib.vfb.vfb.Vfb (I know…) object (low-level representation of the binary VFB format)

__init__(vfb_path: Path) None

Instantiate a reader for the VFB file at vfb_path.

Parameters:

vfb_path (Path) – The file path from which to load the VFB data.

Methods

__init__(vfb_path)

Instantiate a reader for the VFB file at vfb_path.

read(font)

Read the data from the VFB into a font.

read(font: Font) None

Read the data from the VFB into a font.

Parameters:

font (Font) – The target object of the data.