# PdfFontInventory

Document-level inventory of unique PDF font dictionaries and their declared resource references.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`12511d2fa560` with working tree changes

**Source**

[PdfFontInspection.cs:299](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Reading/Model/PdfFontInspection.cs#L299)

**Modifiers**

sealed

Document-level inventory of unique PDF font dictionaries and their declared resource references.

## Inheritance

- object
- PdfFontInventory

## Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 1

- Method [PdfDocumentResources.Fonts](/api/pdf/officeimo-pdf-pdfdocumentresources/#method-fonts-officeimo-pdf-pdffontinspectionoptions-officeimo-pdf-pdfloadoptions)

Filter members 

Show inherited

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public IReadOnlyList<PdfFontInfo> Fonts { get; }` [#](#property-fonts)

[PdfFontInspection.cs:299](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Reading/Model/PdfFontInspection.cs#L299)

Unique font dictionaries in first-declaration order.

`public IReadOnlyList<PdfFontInspectionDiagnostic> Diagnostics { get; }` [#](#property-diagnostics)

[PdfFontInspection.cs:302](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Reading/Model/PdfFontInspection.cs#L302)

Traversal-level diagnostics.

`public int FontCount { get; }` [#](#property-fontcount)

[PdfFontInspection.cs:305](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Reading/Model/PdfFontInspection.cs#L305)

Number of unique font dictionaries.

`public int EmbeddedFontCount { get; }` [#](#property-embeddedfontcount)

[PdfFontInspection.cs:308](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Reading/Model/PdfFontInspection.cs#L308)

Number of unique fonts with an embedded program stream.

`public int SubsetFontCount { get; }` [#](#property-subsetfontcount)

[PdfFontInspection.cs:311](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Reading/Model/PdfFontInspection.cs#L311)

Number of unique fonts identified by a subset-prefixed BaseFont name.

`public int MissingToUnicodeFontCount { get; }` [#](#property-missingtounicodefontcount)

[PdfFontInspection.cs:314](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Reading/Model/PdfFontInspection.cs#L314)

Number of unique fonts that do not declare a ToUnicode mapping.

`public int UnreadableToUnicodeFontCount { get; }` [#](#property-unreadabletounicodefontcount)

[PdfFontInspection.cs:317](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Reading/Model/PdfFontInspection.cs#L317)

Number of unique fonts whose declared ToUnicode mapping was malformed or otherwise unreadable for a non-limit reason.

`public int ToUnicodeLimitExceededFontCount { get; }` [#](#property-tounicodelimitexceededfontcount)

[PdfFontInspection.cs:321](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Reading/Model/PdfFontInspection.cs#L321)

Number of unique fonts whose declared ToUnicode mapping exceeded the configured per-map decoded-byte limit.

`public int ToUnicodeTotalLimitExceededFontCount { get; }` [#](#property-tounicodetotallimitexceededfontcount)

[PdfFontInspection.cs:325](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Reading/Model/PdfFontInspection.cs#L325)

Number of unique fonts whose declared ToUnicode mapping was skipped after the aggregate font-stream allowance was exhausted.

`public int ResourceReferenceCount { get; }` [#](#property-resourcereferencecount)

[PdfFontInspection.cs:329](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Reading/Model/PdfFontInspection.cs#L329)

Total declared page and nested Form XObject font references.

<!-- PowerForge markdown artifact sha256:82779EDA36ED9505E479848BC65957262CF43431104A90795DF454C918FB46C5 -->
