public final class PDFEncodingBuilderImpl extends PDFEncodingBuilder implements Cmap.CmapSelector
PDFEncodingBuilder.Encoding| Constructor and Description |
|---|
PDFEncodingBuilderImpl(OpenTypeFont font,
Subset s) |
| Modifier and Type | Method and Description |
|---|---|
void |
cmapFound(int pid,
int eid,
int index)
Called for each recognized subtable.
|
int |
getCodePoint(int subsetGlyphID,
PDFEncodingBuilder.Encoding e)
Fetch the codepoint associated with a glyph in the encoding e.
|
PDFEncodingBuilder.Encoding |
getEncoding(int subsetGlyphID)
Fetch the encoding that can be used with a glyph.
|
getInstancepublic PDFEncodingBuilderImpl(OpenTypeFont font, Subset s) throws UnsupportedFontException, InvalidFontException
public int getCodePoint(int subsetGlyphID,
PDFEncodingBuilder.Encoding e)
PDFEncodingBuildergetCodePoint in class PDFEncodingBuildersubsetGlyphID - 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 PDFEncodingBuilder.Encoding getEncoding(int subsetGlyphID)
PDFEncodingBuildergetEncoding in class PDFEncodingBuildersubsetGlyphID - the glyphID in a subset of the font.public void cmapFound(int pid,
int eid,
int index)
throws UnsupportedFontException,
InvalidFontException
Cmap.CmapSelectorcmapFound in interface Cmap.CmapSelectorUnsupportedFontExceptionInvalidFontExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved