class HexaPDF::Font::Encoding::DifferenceEncoding

Parent

The difference encoding uses a base encoding that can be overlayed with additional mappings.

See: PDF2.0 s9.6.5.1

Attributes

base_encoding[R]

The base encoding.

Public Class Methods

new(base_encoding)

Initializes the Differences object with the given base encoding object.

Calls superclass method HexaPDF::Font::Encoding::Base::new

Public Instance Methods

code(name)

Returns the code for the given glyph name, either from this object, if a code references the name, or from the base encoding.

name(code)

Returns the name for the given code, either from this object, if it contains the code, or from the base encoding.