Package | Description |
---|---|
org.apache.pdfbox.pdmodel.font |
Classes to deal with font functionality in a PDF Document.
|
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.
|
static PDTrueTypeFont |
PDTrueTypeFont.loadTTF(PDDocument doc,
java.io.File file) |
Deprecated.
Use
PDType0Font.load(PDDocument, File) instead. |
static PDTrueTypeFont |
PDTrueTypeFont.loadTTF(PDDocument doc,
java.io.InputStream input) |
Deprecated.
Use
PDType0Font.load(PDDocument, InputStream) instead. |
Copyright © 2002–2018. All rights reserved.