Package | Description |
---|---|
org.apache.pdfbox.pdmodel.font |
Classes to deal with font functionality in a PDF Document.
|
org.apache.pdfbox.preflight.font | |
org.apache.pdfbox.preflight.font.container | |
org.apache.pdfbox.preflight.font.descriptor |
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.
|
static PDTrueTypeFont |
PDTrueTypeFont.load(PDDocument doc,
TrueTypeFont ttf,
Encoding encoding)
Loads a TTF to be embedded into a document as a simple font.
|
static PDTrueTypeFont |
PDTrueTypeFont.loadTTF(PDDocument doc,
File file)
Deprecated.
Use
PDType0Font.load(PDDocument, File) instead. |
static PDTrueTypeFont |
PDTrueTypeFont.loadTTF(PDDocument doc,
InputStream input)
Deprecated.
Use
PDType0Font.load(PDDocument, InputStream) instead. |
Constructor and Description |
---|
TrueTypeFontValidator(PreflightContext context,
PDTrueTypeFont font) |
Constructor and Description |
---|
TrueTypeContainer(PDTrueTypeFont font) |
Constructor and Description |
---|
TrueTypeDescriptorHelper(PreflightContext context,
PDTrueTypeFont font,
TrueTypeContainer fontContainer) |
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.