Uses of Class
org.apache.pdfbox.pdmodel.font.PDTrueTypeFont
Packages that use PDTrueTypeFont
Package
Description
Classes to deal with font functionality in a PDF Document.
-
Uses of PDTrueTypeFont in org.apache.pdfbox.pdmodel.font
Methods in org.apache.pdfbox.pdmodel.font that return PDTrueTypeFontModifier and TypeMethodDescriptionstatic PDTrueTypeFontPDTrueTypeFont.load(PDDocument doc, File file, Encoding encoding) Loads a TTF to be embedded into a document as a simple font.static PDTrueTypeFontPDTrueTypeFont.load(PDDocument doc, InputStream input, Encoding encoding) Loads a TTF to be embedded into a document as a simple font.static PDTrueTypeFontPDTrueTypeFont.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 PDTrueTypeFontPDTrueTypeFont.loadTTF(PDDocument doc, File file) Deprecated.static PDTrueTypeFontPDTrueTypeFont.loadTTF(PDDocument doc, InputStream input) Deprecated.UsePDType0Font.load(PDDocument, InputStream)instead.
PDType0Font.load(PDDocument, File)instead.