# PdfFontInfo

Inspection information for one unique PDF font dictionary.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`12511d2fa560` with working tree changes

**Source**

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

**Modifiers**

sealed

Inspection information for one unique PDF font dictionary.

## Inheritance

- object
- PdfFontInfo

## 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

- Property [PdfFontInventory.Fonts](/api/pdf/officeimo-pdf-pdffontinventory/#property-fonts)

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 int? ObjectNumber { get; }` [#](#property-objectnumber)

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

Indirect object number, or null when the font dictionary is direct.

`public int? Generation { get; }` [#](#property-generation)

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

Indirect object generation, or null when the font dictionary is direct.

`public string BaseFontName { get; }` [#](#property-basefontname)

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

BaseFont name exactly as declared by the PDF.

`public string FamilyName { get; }` [#](#property-familyname)

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

Base font name with a valid six-letter subset prefix removed.

`public string? SubsetTag { get; }` [#](#property-subsettag)

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

Six-letter PDF subset tag, or null when the BaseFont name is not subset-prefixed.

`public bool IsSubset { get; }` [#](#property-issubset)

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

True when the BaseFont name has a valid six-letter subset prefix.

`public string Subtype { get; }` [#](#property-subtype)

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

PDF font subtype, such as Type0, Type1, TrueType, or Type3.

`public string Encoding { get; }` [#](#property-encoding)

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

Resolved encoding name used by the OfficeIMO.Pdf text decoder.

`public int? FontWeight { get; }` [#](#property-fontweight)

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

Font descriptor weight from 1 through 1000, when declared by the PDF.

`public int? FontDescriptorFlags { get; }` [#](#property-fontdescriptorflags)

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

Raw PDF font descriptor flags, when declared by the PDF.

`public bool IsBold { get; }` [#](#property-isbold)

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

True when declared weight or a legacy font-name fallback identifies a bold face.

`public bool IsItalic { get; }` [#](#property-isitalic)

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

True when descriptor flags or a legacy font-name fallback identifies an italic face.

`public bool HasToUnicode { get; }` [#](#property-hastounicode)

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

True when the font dictionary declares a ToUnicode entry.

`public bool HasReadableToUnicodeMap { get; }` [#](#property-hasreadabletounicodemap)

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

True when the declared ToUnicode stream produced a readable character map.

`public int ToUnicodeMappingCount { get; }` [#](#property-tounicodemappingcount)

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

Number of mappings parsed from the ToUnicode character map.

`public int EncodingDifferenceCount { get; }` [#](#property-encodingdifferencecount)

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

Number of explicit Encoding Differences mappings.

`public bool IsEmbedded { get; }` [#](#property-isembedded)

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

True when a FontFile, FontFile2, or FontFile3 stream is present.

`public string? EmbeddedProgramSubtype { get; }` [#](#property-embeddedprogramsubtype)

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

Embedded font program kind, such as Type1, TrueType, OpenType, or Type1C.

`public int? EmbeddedProgramEncodedLength { get; }` [#](#property-embeddedprogramencodedlength)

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

Encoded byte length of the embedded font program stream.

`public PdfOpenTypeFontInfo? EmbeddedOpenTypeInfo { get; }` [#](#property-embeddedopentypeinfo)

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

Parsed facts from an embedded OpenType or TrueType program, including the total glyph count and Unicode cmap coverage. This describes the embedded program; it does not claim every glyph was painted.

`public byte[]? EmbeddedProgramBytes { get; }` [#](#property-embeddedprogrambytes)

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

Decoded embedded font program bytes when explicitly requested and available within the configured limit. A defensive copy is returned on every access.

`public int? EmbeddedProgramDecodedLength { get; }` [#](#property-embeddedprogramdecodedlength)

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

Decoded embedded font program byte length when bytes were requested and retained.

`public bool IsType3 { get; }` [#](#property-istype3)

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

True when the font is a Type3 font whose glyphs are PDF content streams.

`public IReadOnlyList<PdfFontResourceReference> References { get; }` [#](#property-references)

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

Every page and nested resource path that declares this font dictionary.

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

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

Font-specific inspection diagnostics.

<!-- PowerForge markdown artifact sha256:A4C5DD5CFFC2D56F9D5BC6F7B3C3FD279F9C0E22A06A293748781A9C37AC6008 -->
