class HexaPDF::Font::TrueType::Table::Post

Parent

The ‘post’ table contains information for using a font on a PostScript printer.

post format 2.5 is currently not implemented because use of the format is deprecated since 2000 in the specification and no font with a format 2.5 post subtable was available for testing.

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

Attributes

format[RW]

The format of the table (a Rational).

is_fixed_pitch[RW]

Specifies whether the font is proportional (value is 0) or monospaced (value is not 0).

italic_angle[RW]

The italic angle (a Rational).

max_mem_type1[RW]

Maximum memory usage when a Type1 font is downloaded.

max_mem_type42[RW]

Maximum memory usage when a font is downloaded.

min_mem_type1[RW]

Minimum memory usage when a Type1 font is downloaded.

min_mem_type42[RW]

Minimum memory usage when a font is downloaded.

underline_position[RW]

The suggested distance of the top of the underline from the baseline (negative values indicate underlines below the baseline).

underline_thickness[RW]

The suggested thickness for underlines.

Public Instance Methods

[](glyph_id)

Returns the name for the given glpyh id or “.notdef” if the given glyph id has no name.

is_fixed_pitch?()

Returns true if the font is monospaced.

See: is_fixed_pitch