vfbLib.ufo.kerning.UfoKerning

class vfbLib.ufo.kerning.UfoKerning(glyph_order: list[str], groups: UfoGroups, mm_kerning: UfoMMKerning, key_glyphs: dict[str, str])

Bases: object

__init__(glyph_order: list[str], groups: UfoGroups, mm_kerning: UfoMMKerning, key_glyphs: dict[str, str])

Methods

__init__(glyph_order, groups, mm_kerning, ...)

get_master_kerning(master_index)

Extract the kerning values for master_index and return the kerning as Dict[Tuple[str, str], int].

get_master_kerning(master_index: int) UfoMasterKerning

Extract the kerning values for master_index and return the kerning as Dict[Tuple[str, str], int].