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
| Signature | Description |
|---|---|
isStandard(fontName: String) → boolean | Returns 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) → FontEncoding | Returns the default encoding for the given standard font. |