HHEA: 32-bit Horizontal Header table
The HHEA table is the beyond-64k companion to the hhea table.
It is implemented as a thin subclass of fontTools.ttLib.tables._h_h_e_a.
- class fontTools.ttLib.tables.H_H_E_A_.table_H_H_E_A_(tag: str | bytes | None = None)[source]
Bases:
table__h_h_e_a- dependencies: list[str] = ['HMTX', 'GLYF', 'CFF ', 'CFF2']
- tableFormat = '\n\t\t> # big endian\n\t\ttableVersion: L\n\t\tascent: h\n\t\tdescent: h\n\t\tlineGap: h\n\t\tadvanceWidthMax: H\n\t\tminLeftSideBearing: h\n\t\tminRightSideBearing: h\n\t\txMaxExtent: h\n\t\tcaretSlopeRise: h\n\t\tcaretSlopeRun: h\n\t\tcaretOffset: h\n\t\treserved0: h\n\t\treserved1: h\n\t\treserved2: h\n\t\treserved3: h\n\t\tmetricDataFormat: h\n\t\tnumberOfHMetrics: L\n'
- glyphTableTag = 'GLYF'
- metricsTableTag = 'HMTX'
- outlineTags = ('GLYF', 'CFF ', 'CFF2')
- mergeMap = {'*': <function equal>, 'advanceWidthMax': <built-in function max>, 'ascent': <built-in function max>, 'caretOffset': <function first>, 'caretSlopeRise': <function first>, 'caretSlopeRun': <function first>, 'descent': <built-in function min>, 'lineGap': <built-in function max>, 'minLeftSideBearing': <built-in function min>, 'minRightSideBearing': <built-in function min>, 'numberOfHMetrics': <function recalculate>, 'tableTag': <function equal>, 'tableVersion': <built-in function max>, 'xMaxExtent': <built-in function max>}