Module: Fontisan::Export::TableSerializer::LocaSummary

Defined in:
lib/fontisan/export/table_serializer.rb

Class Method Summary collapse

Class Method Details

.call(table) ⇒ Object



122
123
124
125
# File 'lib/fontisan/export/table_serializer.rb', line 122

def self.call(table)
  { type: "loca", num_offsets: table.offsets.length,
    format: table.format }
end