class HexaPDF::Font::Encoding::DifferenceEncoding

def code(name)

the name, or from the base encoding.
Returns the code for the given glyph name, either from this object, if a code references
def code(name)
  code_to_name.key(name) || base_encoding.code(name)
end