---
Product: Aspose.PDF
Platform: net
Page Type: reference
Canonical URL: https://reference.aspose.org/pdf/net/FontUtilities
---

# FontUtilities

## Overview

`FontUtilities` is a class in Aspose.PDF FOSS for .NET.
Inherits from: `Document.IDocumentFontUtilities`.

Provides font management utilities for a document.

This class provides 2 methods for working with FontUtilities objects in .NET programs.
Available methods include: `GetAllFonts`, `SubsetFonts`.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.

## Methods

| Signature | Description |
|-----------|-------------|
| `GetAllFonts()` | Returns all fonts referenced in the document (across all pages). |
| `SubsetFonts(subsetStrategy: FontSubsetStrategy)` | Apply a font subsetting strategy to the document. |

## See Also

- [Aspose.PDF for .NET — Enterprise API Reference](https://reference.aspose.com/pdf/net/)