class HexaPDF::Font::TrueType::Table

Parent

Implementation of a generic table inside a sfnt-formatted font file.

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

Constants

TIME_EPOCH

The time Epoch used in sfnt-formatted font files.

Attributes

font[R]

The TrueType font object associated with this table.

Public Class Methods

calculate_checksum(data)

Calculates the checksum for the given data.

new(font, entry)

Creates a new Table object for the given font and initializes it by reading the data from the font’s associated IO stream

See: parse_table

Public Instance Methods

checksum_valid?()

Returns true if the checksum stored in the directory entry of the table matches the tables data.

directory_entry()

Returns the directory entry for this table.

See: Directory

raw_data()

Returns the raw table data.