| Modifier and Type | Field and Description |
|---|---|
| private final Encoding |
| Access | Constructor and Description |
|---|---|
| pack-priv | PDTrueTypeFontEmbedder(PDDocument
The parent document document, COSDictionary Font dictionary dict, TrueTypeFont TrueType font ttf, Encoding The PostScript encoding vector to be used for embedding. encoding)Creates a new TrueType font embedder for the given TTF as a PDTrueTypeFont. |
| Modifier and Type | Method and Description |
|---|---|
| protected void | buildSubset(InputStream ttfSubset, String tag, Map<Integer, Integer> gidToCid)
Implements abstract org. Rebuild a font subset. |
| public Encoding | |
| private void |
| fontEncoding | back to summary |
|---|---|
| private final Encoding fontEncoding | |
| PDTrueTypeFontEmbedder | back to summary |
|---|---|
| pack-priv PDTrueTypeFontEmbedder(PDDocument document, COSDictionary dict, TrueTypeFont ttf, Encoding encoding) throws IOException Creates a new TrueType font embedder for the given TTF as a PDTrueTypeFont.
| |
| buildSubset | back to summary |
|---|---|
| protected void buildSubset(InputStream ttfSubset, String tag, Map<Integer, Integer> gidToCid) throws IOException Implements abstract org. Doc from org. Rebuild a font subset.
| |
| getFontEncoding | back to summary |
|---|---|
| public Encoding getFontEncoding() Returns the font's encoding. | |
| setWidths | back to summary |
|---|---|
| private void setWidths(COSDictionary font, GlyphList glyphList) throws IOException Sets the glyph widths in the font dictionary. | |