Class: HexaPDF::Font::TrueType::Table::Directory::Entry
- Inherits:
-
Struct
- Object
- Struct
- HexaPDF::Font::TrueType::Table::Directory::Entry
- Defined in:
- lib/hexapdf/font/true_type/table/directory.rb
Overview
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).
Instance Attribute Summary collapse
-
#checksum ⇒ Object
Returns the value of attribute checksum.
-
#length ⇒ Object
Returns the value of attribute length.
-
#offset ⇒ Object
Returns the value of attribute offset.
-
#tag ⇒ Object
Returns the value of attribute tag.
Instance Attribute Details
#checksum ⇒ Object
Returns the value of attribute checksum
58 59 60 |
# File 'lib/hexapdf/font/true_type/table/directory.rb', line 58 def checksum @checksum end |
#length ⇒ Object
Returns the value of attribute length
58 59 60 |
# File 'lib/hexapdf/font/true_type/table/directory.rb', line 58 def length @length end |
#offset ⇒ Object
Returns the value of attribute offset
58 59 60 |
# File 'lib/hexapdf/font/true_type/table/directory.rb', line 58 def offset @offset end |
#tag ⇒ Object
Returns the value of attribute tag
58 59 60 |
# File 'lib/hexapdf/font/true_type/table/directory.rb', line 58 def tag @tag end |