Class TTFunk::Table::Glyf
In: lib/ttfunk/table/glyf.rb
lib/ttfunk/table/glyf/compound.rb
lib/ttfunk/table/glyf/simple.rb
Parent: Table

Methods

encode   for  

Classes and Modules

Class TTFunk::Table::Glyf::Compound
Class TTFunk::Table::Glyf::Simple

Public Class methods

Accepts a hash mapping (old) glyph-ids to glyph objects, and a hash mapping old glyph-ids to new glyph-ids.

Returns a hash containing:

  • :table - a string representing the encoded ‘glyf’ table containing the given glyphs.
  • :offsets - an array of offsets for each glyph

Public Instance methods

[Validate]