FontUtilities
Overview
FontUtilities is a class in Aspose.PDF FOSS for Java.
Provides utility methods for working with fonts in a PDF document.
This class provides 3 methods for working with FontUtilities objects in Java programs.
Available methods include: FontUtilities, getAllFonts, subsetFonts.
All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package.
Properties: allFonts.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
allFonts | Font[] | Read | Returns all fonts used across all pages of the document. |
Methods
| Signature | Description |
|---|---|
FontUtilities(document: Document) | Creates a FontUtilities instance for the given document. |
getAllFonts() → Font[] | Returns all fonts used across all pages of the document. |
subsetFonts() | Marks all fonts in the document for subsetting on save. |