public abstract class PDFEncodingBuilder extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PDFEncodingBuilder.Encoding |
| Constructor and Description |
|---|
PDFEncodingBuilder() |
| Modifier and Type | Method and Description |
|---|---|
abstract int |
getCodePoint(int subsetGlyphID,
PDFEncodingBuilder.Encoding e)
Fetch the codepoint associated with a glyph in the encoding e.
|
abstract PDFEncodingBuilder.Encoding |
getEncoding(int subsetGlyphID)
Fetch the encoding that can be used with a glyph.
|
static PDFEncodingBuilder |
getInstance(Font font,
Subset subset)
Creates an instance of a PDFEncodingBuilder to be used with a given Font and Subset.
|
public static PDFEncodingBuilder getInstance(Font font, Subset subset) throws InvalidFontException, UnsupportedFontException, FontLoadingException
font - subset - InvalidFontExceptionUnsupportedFontExceptionFontLoadingExceptionpublic abstract int getCodePoint(int subsetGlyphID,
PDFEncodingBuilder.Encoding e)
subsetGlyphID - the glyphID in a subset of a font.e - The encoding to fetch. e must have been returned from this.getEncoding
with the same subsetGlyphID.public abstract PDFEncodingBuilder.Encoding getEncoding(int subsetGlyphID)
subsetGlyphID - the glyphID in a subset of the font.Copyright © 2010 - 2020 Adobe. All Rights Reserved