# File lib/ttfunk/table/kern.rb, line 9 def self.encode(kerning, mapping) return nil unless kerning.exists? && kerning.tables.any? tables = kerning.tables.map { |table| table.recode(mapping) }.compact return nil if tables.empty? [0, tables.length, tables.join].pack("nnA*") end
Generated with the Darkfish Rdoc Generator 2.