Package | Description |
---|---|
org.apache.pdfbox.encoding |
This package contains the implementations for all of the encodings that are used in PDF documents.
|
org.apache.pdfbox.pdmodel.font |
Classes to deal with font functionality in a PDF Document.
|
Modifier and Type | Class | Description |
---|---|---|
class |
AFMEncoding |
This will handle the encoding from an AFM font.
|
class |
DictionaryEncoding |
This will perform the encoding from a dictionary.
|
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 |
PdfDocEncoding |
This is an interface to a text encoder.
|
class |
StandardEncoding |
This is an interface to a text encoder.
|
class |
Type1Encoding |
This class represents an encoding which was read from a type1 font.
|
class |
WinAnsiEncoding |
This the win ansi encoding.
|
Modifier and Type | Method | Description |
---|---|---|
Encoding |
EncodingManager.getEncoding(COSName name) |
This will get an encoding by name.
|
Encoding |
EncodingManager.getStandardEncoding() |
This will get the standard encoding.
|
Modifier and Type | Method | Description |
---|---|---|
Encoding |
PDFont.getFontEncoding() |
This will get or create the encoder.
|
Modifier and Type | Method | Description |
---|---|---|
static PDTrueTypeFont |
PDTrueTypeFont.loadTTF(PDStream fontStream,
Encoding enc) |
This will load a TTF to be embedded into a document.
|
static PDTrueTypeFont |
PDTrueTypeFont.loadTTF(PDDocument doc,
java.io.InputStream stream,
Encoding enc) |
This will load a TTF to be embedded into a document.
|
void |
PDFont.setFontEncoding(Encoding enc) |
The will set the encoding for this font.
|