Skip to main content

PdfDiagnosticKind Enum

Definition

Assembly:Avalonia.Controls.Documents.Serialization.Pdf
Package:Avalonia.Controls.Documents.Serialization.Pdf

What an exported PDF loses relative to the document it was produced from. Every entry describes output the exporter chose to degrade rather than fail on, so a caller that wants to know about it has to ask.

public enum PdfDiagnosticKind

Inheritance: Enum -> PdfDiagnosticKind

Fields

NameDescription
EncodingExhaustedA non-embedded font's document text needs more than the 255 character codes a simple font encoding provides; the characters past that limit are dropped from the page.
FontFidelityA font is embedded but cannot render identically in a PDF viewer - color glyph data is ignored, or a variable font renders as its default instance.
FontNotEmbeddedA font program is missing from the file, so viewers substitute a locally available face. Text stays selectable and its metrics are preserved, but the letterforms are not the document's.

EncodingExhausted Field

A non-embedded font's document text needs more than the 255 character codes a simple font encoding provides; the characters past that limit are dropped from the page.

public Avalonia.Controls.Documents.Serialization.Pdf.PdfDiagnosticKind EncodingExhausted

FontFidelity Field

A font is embedded but cannot render identically in a PDF viewer - color glyph data is ignored, or a variable font renders as its default instance.

public Avalonia.Controls.Documents.Serialization.Pdf.PdfDiagnosticKind FontFidelity

FontNotEmbedded Field

A font program is missing from the file, so viewers substitute a locally available face. Text stays selectable and its metrics are preserved, but the letterforms are not the document's.

public Avalonia.Controls.Documents.Serialization.Pdf.PdfDiagnosticKind FontNotEmbedded