API Reference

Class

PdfFontDiagnostics

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Modifiers static

Provides reusable font preflight helpers for generated PDF output.

Inheritance

  • Object
  • PdfFontDiagnostics

Methods

public static IReadOnlyList<PdfFontEmbeddingDiagnostic> AnalyzeEmbeddedFont(Byte[] fontData, String source = "", String fontName = null) #
Returns: IReadOnlyList<PdfFontEmbeddingDiagnostic>

Finds caller-supplied embedded font data that cannot be used by the current generated font paths.

Parameters

fontData System.Byte[] requiredposition: 0
Font bytes to inspect.
source System.String = "" optionalposition: 1
Optional caller-provided source label such as a generated font slot, field, sheet, slide, or converter area.
fontName System.String = null optionalposition: 2
Optional configured font name used in diagnostic messages.

Returns

Font diagnostics in source order. An empty result means the font parsed through a current generated font path.