vfbLib.tth.extract_glyph_hints

vfbLib.tth.extract_glyph_hints(data: dict, target: dict, font_hints: dict, zone_names: dict) None

Extract the glyph hints from the supplied decompiled glyph entry data.

Parameters:
  • data (dict) – The decompiled glyph entry data.

  • target (dict) – The dict to which to add the extracted glyph hints.

  • font_hints (dict) – Font-level hinting data. Used to map stem indices to names.

  • zone_names (dict) – Zone hinting data. Used to map zone indices to names.