class HexaPDF::Font::TrueType::Table::Hhea

Parent

The ‘hhea’ (horizontal header) table contains information for layouting fonts whose characters are written horizontally.

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

Attributes

advance_width_max[RW]

The maxium advance width (computed value).

ascent[RW]

The distance from the baseline of the highest ascender (as intended by the font designer).

caret_offset[RW]

The amount by which a slanted highlight on a glyph needs (0 for non-slanted fonts).

caret_slope_rise[RW]

Defines together with caret_slope_run the mathematical slope of the angle for the caret.

The slope is actually the ratio caret_slope_rise/caret_slope_run

caret_slope_run[RW]
descent[RW]

The distance from the baseline of the lowest descender (as intended by the font designer).

line_gap[RW]

The typographic line gap (as intended by the font designer).

min_left_side_bearing[RW]

The minimum left side bearing (computed value).

min_right_side_bearing[RW]

The minimum right side bearing (computed value).

num_of_long_hor_metrics[RW]

The number of horizontal metrics defined in the ‘hmtx’ table.

version[RW]

The version of the table (a Rational).

x_max_extent[RW]

The maximum horizontal glyph extent.