| Modifier and Type | Field and Description |
|---|---|
| private final Encoding | |
| private final Map | |
| private final COSDictionary |
| Access | Constructor and Description |
|---|---|
| public | DictionaryEncoding(COSName
the base encoding of this encoding baseEncoding, COSArray the differences of this encoding with regard to the base encoding differences)Creates a new DictionaryEncoding for embedding. |
| public | DictionaryEncoding(COSDictionary
The Type 3 encoding dictionary. fontEncoding)Creates a new DictionaryEncoding for a Type 3 font from a PDF. |
| public | DictionaryEncoding(COSDictionary
The encoding dictionary. fontEncoding, boolean True if the font is non-symbolic. False for Type 3 fonts. isNonSymbolic, Encoding The font's built-in encoding. Null for Type 3 fonts. builtIn)Creates a new DictionaryEncoding from a PDF. |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public Encoding | |
| public COSBase | getCOSObject()
Implements org. Convert this standard java object to a COS object. |
| public Map | |
| public String | getEncodingName()
Implements abstract org. Returns the name of this encoding. |
| baseEncoding | back to summary |
|---|---|
| private final Encoding baseEncoding | |
| differences | back to summary |
|---|---|
| private final Map<Integer, String> differences | |
| encoding | back to summary |
|---|---|
| private final COSDictionary encoding | |
| DictionaryEncoding | back to summary |
|---|---|
| public DictionaryEncoding(COSName baseEncoding, COSArray differences) Creates a new DictionaryEncoding for embedding. | |
| DictionaryEncoding | back to summary |
|---|---|
| public DictionaryEncoding(COSDictionary fontEncoding) Creates a new DictionaryEncoding for a Type 3 font from a PDF.
| |
| DictionaryEncoding | back to summary |
|---|---|
| public DictionaryEncoding(COSDictionary fontEncoding, boolean isNonSymbolic, Encoding builtIn) Creates a new DictionaryEncoding from a PDF.
| |
| applyDifferences | back to summary |
|---|---|
| private void applyDifferences() | |
| getBaseEncoding | back to summary |
|---|---|
| public Encoding getBaseEncoding() Returns the base encoding. Will be null for Type 3 fonts.
| |
| getCOSObject | back to summary |
|---|---|
| public COSBase getCOSObject() Implements org. Doc from org. Convert this standard java object to a COS object. | |
| getDifferences | back to summary |
|---|---|
| public Map Returns the Differences array. | |
| getEncodingName | back to summary |
|---|---|
| public String getEncodingName() Implements abstract org. Doc from org. Returns the name of this encoding. | |