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.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.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. |
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.