# PdfFontEmbeddingDiagnostic

Describes a font program that cannot be embedded through the current generated PDF font path.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[PdfFontEmbeddingDiagnostic.cs:69](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfFontEmbeddingDiagnostic.cs#L69)

**Modifiers**

sealed

Describes a font program that cannot be embedded through the current generated PDF font path.

## Inheritance

- object
- PdfFontEmbeddingDiagnostic

Filter members 

Show inherited

## Methods

`public PdfConversionWarning ToConversionWarning(string converter = "OfficeIMO.Pdf")` [#](#method-toconversionwarning-string)

[PdfFontEmbeddingDiagnostic.cs:69](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfFontEmbeddingDiagnostic.cs#L69)

Converts this font diagnostic to the shared conversion warning shape used by PDF adapters.

Parameters

**converter string = "OfficeIMO.Pdf" optional**

Converter or adapter name to place on the warning.

Returns

`PdfConversionWarning` A shared conversion warning carrying this diagnostic and stable details.

## 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 string Source { get; }` [#](#property-source)

[PdfFontEmbeddingDiagnostic.cs:40](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfFontEmbeddingDiagnostic.cs#L40)

Caller-provided source label such as a generated font slot, field, sheet, slide, or converter area.

`public string FontName { get; }` [#](#property-fontname)

[PdfFontEmbeddingDiagnostic.cs:43](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfFontEmbeddingDiagnostic.cs#L43)

Configured PDF font name, when one was supplied.

`public string Format { get; }` [#](#property-format)

[PdfFontEmbeddingDiagnostic.cs:46](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfFontEmbeddingDiagnostic.cs#L46)

Detected font container or outline format.

`public string Code { get; }` [#](#property-code)

[PdfFontEmbeddingDiagnostic.cs:49](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfFontEmbeddingDiagnostic.cs#L49)

Stable warning code suitable for shared conversion reports.

`public string Message { get; }` [#](#property-message)

[PdfFontEmbeddingDiagnostic.cs:52](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfFontEmbeddingDiagnostic.cs#L52)

Human-readable diagnostic message.

`public PdfConversionWarningSeverity Severity { get; }` [#](#property-severity)

[PdfFontEmbeddingDiagnostic.cs:55](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfFontEmbeddingDiagnostic.cs#L55)

Severity assigned when this diagnostic is converted to a shared conversion warning.

`public PdfLayoutDiagnosticKind LayoutDiagnosticKind { get; }` [#](#property-layoutdiagnostickind)

[PdfFontEmbeddingDiagnostic.cs:58](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfFontEmbeddingDiagnostic.cs#L58)

Layout diagnostic kind assigned when this diagnostic is converted to a shared conversion warning.

`public IReadOnlyDictionary<string, string> Details { get; }` [#](#property-details)

[PdfFontEmbeddingDiagnostic.cs:61](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfFontEmbeddingDiagnostic.cs#L61)

Additional stable diagnostic details.

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