StandardFonts

StandardFonts

Overview

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

Registry of the 14 Standard PDF Fonts (ISO 32000-1:2008, §9.6.2.2).

This class provides 3 methods for working with StandardFonts objects in Java programs. Available methods include: getEncoding, getWidths, isStandard. All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package.

Methods

SignatureDescription
isStandard(fontName: String)booleanReturns whether the given font name is one of the Standard 14 fonts.
getWidths(fontName: String)int[]Returns the 256-entry width table for the given standard font.
getEncoding(fontName: String)FontEncodingReturns the default encoding for the given standard font.

See Also

 English