module HexaPDF::Font::TrueType::Table::Post::Format4

'post' table format 4

Public Class Methods

parse(io, length) → glyph_names click to toggle source

Parses the format 4 post subtable from the given IO at the current position and returns a lambda mapping the glyph id to a character code.

# File lib/hexapdf/font/true_type/table/post.rb, line 214
def self.parse(io, length)
  mapper(io.read(length).unpack('n*'))
end