class HexaPDF::Font::TrueType::Table::Directory
See: developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6.html<br><br>information for loading all other tables.
The main table of an sfnt-housed font file, providing the table directory which contains
def entry(tag)
def entry(tag) @tables[tag] end
def load_from_io #:nodoc:
def load_from_io #:nodoc: with_io_pos(0) do @tag, num_tables = read_formatted(12, "a4n") # ignore 3 fields @tables = {} num_tables.times do entry = Entry.new(*read_formatted(16, "a4NNN")) @tables[entry.tag] = entry end end end