module TTFunk::Table::Post::Format20

Public Instance Methods

glyph_for(code) click to toggle source
# File lib/ttfunk/table/post/format20.rb, line 10
def glyph_for(code)
  index = @glyph_name_index[code]
  if index <= 257
    POSTSCRIPT_GLYPHS[index]
  else
    @names[index - 258] || ".notdef"
  end
end