Java Doc for DifferenceEncoding.java in » PDF » jPod » de » intarsys » pdf » font » Java Source Code / Java DocumentationJava Source Code and Java Documentation
An encoding defined as a delta to another base encoding.
the encoding difference is defined in the form
...
num name name name
num name..
...
where num is the codepoint for the first glyph name in the list. The
following names are mapped to the codepoint of the predecessor + 1. Multiple
redefinition offsets can be defined.
Set the COSDictionary that defines the difference to the base encoding.
Parameters: dictionary - The COSDictionary that defines the difference to the baseencoding.
Create the difference encoding from the values defined in the
dict.
todo 2 remove dependency to font and refactor
Parameters: dict - The dictionary defining the difference. Parameters: font - The font defining the base encoding. The difference encoding from the values defined in thedict.
Set the
MappedEncoding decoded from the differences dictionary.
Parameters: newDifferenceEncoding - The MappedEncoding decoded from the differencesdictionary.
Fields inherited from de.intarsys.pdf.encoding.Encoding