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 and Description |
---|---|
protected Encoding |
PDSimpleFont.encoding |
Modifier and Type | Method and Description |
---|---|
Encoding |
PDSimpleFont.getEncoding()
Returns the Encoding vector.
|
protected Encoding |
PDType3Font.readEncodingFromFont() |
protected Encoding |
PDType1Font.readEncodingFromFont() |
protected Encoding |
PDType1CFont.readEncodingFromFont() |
protected Encoding |
PDTrueTypeFont.readEncodingFromFont() |
protected abstract Encoding |
PDSimpleFont.readEncodingFromFont()
Called by readEncoding() if the encoding needs to be extracted from the font file.
|
Modifier and Type | Method and Description |
---|---|
static PDTrueTypeFont |
PDTrueTypeFont.load(PDDocument doc,
File file,
Encoding encoding)
Loads a TTF to be embedded into a document as a simple font.
|
static PDTrueTypeFont |
PDTrueTypeFont.load(PDDocument doc,
InputStream input,
Encoding encoding)
Loads a TTF to be embedded into a document as a simple font.
|
Constructor and Description |
---|
PDType1Font(PDDocument doc,
InputStream pfbIn,
Encoding encoding)
Creates a new Type 1 font for embedding.
|
Modifier and Type | Class and Description |
---|---|
class |
BuiltInEncoding
A font's built-in encoding.
|
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 |
StandardEncoding
This is an interface to a text encoder.
|
class |
Type1Encoding
An encoding for a Type 1 font.
|
class |
WinAnsiEncoding
This the win ansi encoding.
|
Modifier and Type | Method and Description |
---|---|
Encoding |
DictionaryEncoding.getBaseEncoding()
Returns the base encoding.
|
static Encoding |
Encoding.getInstance(COSName name)
This will get an encoding by name.
|
Constructor and Description |
---|
DictionaryEncoding(COSDictionary fontEncoding,
boolean isNonSymbolic,
Encoding builtIn)
Creates a new DictionaryEncoding from a PDF.
|
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.