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.loadTTF(PDStream fontStream,
Encoding enc) |
This will load a TTF to be embedded into a document.
|
static PDTrueTypeFont |
PDTrueTypeFont.loadTTF(PDDocument doc,
java.io.File file) |
This will load a TTF to be embedded into a document.
|
static PDTrueTypeFont |
PDTrueTypeFont.loadTTF(PDDocument doc,
java.io.InputStream stream) |
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.
|
static PDTrueTypeFont |
PDTrueTypeFont.loadTTF(PDDocument doc,
java.lang.String file) |
This will load a TTF font from a font file.
|