hdmx: Horizontal Device Metrics table

The hdmx table is an OpenType table.

class fontTools.ttLib.tables._h_d_m_x.table__h_d_m_x(tag=None)[source]

Bases: DefaultTable

Horizontal Device Metrics table

The hdmx table is an optional table that stores advance widths for glyph outlines at specified pixel sizes.

See also https://learn.microsoft.com/en-us/typography/opentype/spec/hdmx

decompile(data, ttFont)[source]
compile(ttFont)[source]
toXML(writer, ttFont)[source]
fromXML(name, attrs, content, ttFont)[source]
subset_glyphs(s)