class TTFunk::Table::Cff::TopIndex

Public Instance Methods

[](index) click to toggle source
# File lib/ttfunk/table/cff/top_index.rb, line 7
def [](index)
  entry_cache[index] ||=
    begin
      start, finish = absolute_offsets_for(index)
      TTFunk::Table::Cff::TopDict.new(file, start, (finish - start) + 1)
    end
end