class HexaPDF:: Font:: TrueType:: Table:: Directory
| Parent | HexaPDF::Font::TrueType::Table |
|---|
The main table of an sfnt-housed font file, providing the table directory which contains information for loading all other tables.
See: developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6.html
Constants
- Entry¶
A single entry in the table directory.
Accessors:
- tag
-
The 4 byte name of the table as binary string.
- checksum
-
Checksum of the table.
- offset
-
Offset from the beginning of the file where the table can be found.
- length
-
The length of the table in bytes (without the padding).
- SELF_ENTRY¶
The fixed entry that represents the table directory itself.
Attributes
Public Instance Methods
Returns the directory entry for the given tag or nil if no such table exists.
Returns an array with all the table names (in string form) in the directory.