CFFFontLoader

CFFFontLoader

Overview

CFFFontLoader is a class in Aspose.PDF FOSS for Java.

Loads an AWT {@link java.awt.Font} from a PDF font that has an embedded Type1C / CIDFontType0C / OpenType-CFF font program in its {@code /FontDescriptor /FontFile3} stream.

This class provides 1 method for working with CFFFontLoader objects in Java programs. Available methods include: load. All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package.

Methods

SignatureDescription
load(pdfFont: PdfFont)FontReturns a Java {@code Font} backed by the embedded CFF, or {@code null}
if the font has no FontFile3 stream or parsing fails.

See Also

 English