Package | Description |
---|---|
org.apache.pdfbox.pdmodel.font |
Classes to deal with font functionality in a PDF Document.
|
org.apache.pdfbox.pdmodel.font.encoding |
Modifier and Type | Field | Description |
---|---|---|
protected Encoding |
PDSimpleFont.encoding |
Modifier and Type | Method | Description |
---|---|---|
Encoding |
PDSimpleFont.getEncoding() |
Returns the Encoding vector.
|
protected abstract Encoding |
PDSimpleFont.readEncodingFromFont() |
Called by readEncoding() if the encoding needs to be extracted from the font file.
|
protected Encoding |
PDTrueTypeFont.readEncodingFromFont() |
|
protected Encoding |
PDType1CFont.readEncodingFromFont() |
|
protected Encoding |
PDType1Font.readEncodingFromFont() |
|
protected Encoding |
PDType3Font.readEncodingFromFont() |
Modifier and Type | Method | Description |
---|---|---|
static PDTrueTypeFont |
PDTrueTypeFont.load(PDDocument doc,
java.io.File file,
Encoding encoding) |
Loads a TTF to be embedded into a document as a simple font.
|
static PDTrueTypeFont |
PDTrueTypeFont.load(PDDocument doc,
java.io.InputStream input,
Encoding encoding) |
Loads a TTF to be embedded into a document as a simple font.
|
static PDTrueTypeFont |
PDTrueTypeFont.load(PDDocument doc,
org.apache.fontbox.ttf.TrueTypeFont ttf,
Encoding encoding) |
Loads a TTF to be embedded into a document as a simple font.
|
Constructor | Description |
---|---|
PDType1Font(PDDocument doc,
java.io.InputStream pfbIn,
Encoding encoding) |
Creates a new Type 1 font for embedding.
|
Modifier and Type | Class | Description |
---|---|---|
class |
BuiltInEncoding |
A font's built-in encoding.
|
class |
DictionaryEncoding |
This will perform the encoding from a dictionary.
|
class |
MacExpertEncoding |
This is an interface to a text encoder.
|
class |
MacOSRomanEncoding |
This is the Mac OS Roman encoding, which is similar to the
MacRomanEncoding with the addition of 15 entries
|
class |
MacRomanEncoding |
This is an interface to a text encoder.
|
class |
StandardEncoding |
This is an interface to a text encoder.
|
class |
SymbolEncoding |
This is an interface to a text encoder.
|
class |
Type1Encoding |
An encoding for a Type 1 font.
|
class |
WinAnsiEncoding |
This the win ansi encoding.
|
class |
ZapfDingbatsEncoding |
This is an interface to a text encoder.
|
Modifier and Type | Method | Description |
---|---|---|
Encoding |
DictionaryEncoding.getBaseEncoding() |
Returns the base encoding.
|
static Encoding |
Encoding.getInstance(COSName name) |
This will get an encoding by name.
|
Constructor | Description |
---|---|
DictionaryEncoding(COSDictionary fontEncoding,
boolean isNonSymbolic,
Encoding builtIn) |
Creates a new DictionaryEncoding from a PDF.
|
Copyright © 2002–2018. All rights reserved.