ExternalFontCache
Overview
ExternalFontCache is a class in Aspose.PDF FOSS for .NET.
Manages the set of folders searched for external (non-embedded) TrueType/OpenType faces during rendering and conversion.
This class provides 3 methods for working with ExternalFontCache objects in .NET programs.
Available methods include: ExternalFontCache, GetDefaultFontsFolders, SetFontsFolders.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: Instance.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Instance | ExternalFontCache | Read | The shared cache instance. |
Methods
| Signature | Description |
|---|---|
ExternalFontCache() | Calls ExternalFontCache on this ExternalFontCache instance. |
GetDefaultFontsFolders() | The platform’s default font folders (existing directories only). |
SetFontsFolders(folders: string[], reset: bool) | Register the given folders as font sources so their faces resolve by family name. |