class TTFunk::Table::Cff::Encoding

def [](glyph_id)

Returns:
  • (Integer, nil) -

Parameters:
  • glyph_id (Integer) --
def [](glyph_id)
  return 0 if glyph_id.zero?
  return code_for(glyph_id) if offset
  self.class.codes_for_encoding_id(offset_or_id)[glyph_id]
end