class HexaPDF::Font::TrueType::Table::Hmtx

Parent

The 'hmtx' (horizontal metrics) table contains information for the horizontal layout of each glyph in the font.

See: developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6hmtx.html

Constants

Metric

Contains the horizontal layout information for one glyph, namely the :advance_width and the :left_side_bearing.

Attributes

horizontal_metrics[RW]

An array of Metric objects, one for each glyph in the font.

Public Instance Methods

[](glyph_id)

Returns the Metric object for the give glyph ID.