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

# FontNotFoundException

## Overview

`FontNotFoundException` is a class in Aspose.PDF FOSS for .NET.
Inherits from: `PdfException`.

Thrown when a requested font cannot be located (no system font with that name, no matching custom-font source, etc.).

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

## Methods

| Signature | Description |
|-----------|-------------|
| `FontNotFoundException()` | Calls FontNotFoundException on this FontNotFoundException instance. |
| `FontNotFoundException(message: string)` |  |
| `FontNotFoundException(message: string, innerException: Exception)` |  |
| `FontNotFoundException(innerException: Exception)` |  |
| `PdfException()` | Initializes a new instance of the PdfException class. |
| `GenerateCrashReport(options: CrashReportOptions)` | Write a crash report to disk per options. |

## See Also

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