Class TTFunk::Table::Loca
In: lib/ttfunk/table/loca.rb
Parent: Table

Methods

encode   index_of   size_of  

Attributes

offsets  [R] 

Public Class methods

Accepts an array of offsets, with each index corresponding to the glyph id with that index.

Returns a hash containing:

  • :table - the string representing the table‘s contents
  • :type - the type of offset (to be encoded in the ‘head’ table)

Public Instance methods

[Validate]