class TTFunk::Table::Cff::TopIndex

CFF Index conatining Top dict.

Private Instance Methods

decode_item(_index, offset, length) click to toggle source
# File lib/ttfunk/table/cff/top_index.rb, line 10
def decode_item(_index, offset, length)
  TTFunk::Table::Cff::TopDict.new(file, offset, length)
end
encode_items(*) click to toggle source
# File lib/ttfunk/table/cff/top_index.rb, line 14
def encode_items(*)
  # Re-encode the top dict
  map(&:encode)
end