Package | Description |
---|---|
org.apache.pdfbox.pdmodel.font |
Classes to deal with font functionality in a PDF Document.
|
Modifier and Type | Method and Description |
---|---|
static PDTrueTypeFont |
PDTrueTypeFont.loadTTF(PDDocument doc,
File file)
This will load a TTF to be embedded into a document.
|
static PDTrueTypeFont |
PDTrueTypeFont.loadTTF(PDDocument doc,
InputStream stream)
This will load a TTF to be embedded into a document.
|
static PDTrueTypeFont |
PDTrueTypeFont.loadTTF(PDDocument doc,
InputStream stream,
Encoding enc)
This will load a TTF to be embedded into a document.
|
static PDTrueTypeFont |
PDTrueTypeFont.loadTTF(PDDocument doc,
String file)
This will load a TTF font from a font file.
|
static PDTrueTypeFont |
PDTrueTypeFont.loadTTF(PDStream fontStream,
Encoding enc)
This will load a TTF to be embedded into a document.
|
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.