# `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)

  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)
  compile(ttFont)
  toXML(writer, ttFont)
  fromXML(name, attrs, content, ttFont)
  subset_glyphs(s)