Class: HexaPDF::Font::TrueType::Table::Directory::Entry

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#checksumObject

Returns the value of attribute checksum

Returns:

  • (Object)

    the current value of checksum



58
59
60
# File 'lib/hexapdf/font/true_type/table/directory.rb', line 58

def checksum
  @checksum
end

#lengthObject

Returns the value of attribute length

Returns:

  • (Object)

    the current value of length



58
59
60
# File 'lib/hexapdf/font/true_type/table/directory.rb', line 58

def length
  @length
end

#offsetObject

Returns the value of attribute offset

Returns:

  • (Object)

    the current value of offset



58
59
60
# File 'lib/hexapdf/font/true_type/table/directory.rb', line 58

def offset
  @offset
end

#tagObject

Returns the value of attribute tag

Returns:

  • (Object)

    the current value of tag



58
59
60
# File 'lib/hexapdf/font/true_type/table/directory.rb', line 58

def tag
  @tag
end