Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfEmbeddedFontFallbackCandidate

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Source revision
be6c300e4ab1 with working tree changes
Modifiers
sealed

Describes one embedded font candidate used when planning generated PDF text fallback.

Inheritance

  • object
  • PdfEmbeddedFontFallbackCandidate

Usage

Explore 2 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

Accepted by parameters 1

Constructors

PdfEmbeddedFontFallbackCandidate 3 overloads
public PdfEmbeddedFontFallbackCandidate(string fontName, byte[] trueTypeFont) #

Creates a fallback candidate from TrueType or OpenType/CFF font bytes.

Parameters

fontName string required
Display name used in fallback segments and diagnostics.
trueTypeFont byte[] required
TrueType or OpenType/CFF font bytes to inspect for Unicode glyph coverage.
public PdfEmbeddedFontFallbackCandidate(string fontName, byte[] trueTypeFont, OfficeFontUnicodeRangeSet unicodeRanges) #

Creates a fallback candidate whose glyph coverage is limited to an explicit Unicode range policy.

Parameters

fontName string required
Display name used in fallback segments and diagnostics.
trueTypeFont byte[] required
TrueType or OpenType/CFF font bytes to inspect for Unicode glyph coverage.
unicodeRanges OfficeIMO.Drawing.OfficeFontUnicodeRangeSet required
Unicode scalars this candidate is allowed to serve.
public PdfEmbeddedFontFallbackCandidate(PdfEmbeddedFontFamily fontFamily) #

Creates a fallback candidate from a font family. Coverage is planned against the regular face, and bold, italic and bold-italic runs are painted with the family's own faces. Characters a styled face lacks, and styles the family has no face for, are synthesized from the regular face.

Parameters

fontFamily OfficeIMO.Pdf.PdfEmbeddedFontFamily required
Font family whose regular face decides coverage and whose styled faces paint styled runs.

Properties

public string FontName { get; } #

Display name used in fallback segments and diagnostics.

public OfficeFontUnicodeRangeSet UnicodeRanges { get; } #

Unicode scalars this candidate is allowed to serve.