Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

PdfEmbeddedFontFallbackCandidate

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Source revision 804a7612eee4 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 2 overloads
public PdfEmbeddedFontFallbackCandidate(String fontName, Byte[] trueTypeFont) #

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

Parameters

fontName System.String requiredposition: 0
Display name used in fallback segments and diagnostics.
trueTypeFont System.Byte[] requiredposition: 1
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 System.String requiredposition: 0
Display name used in fallback segments and diagnostics.
trueTypeFont System.Byte[] requiredposition: 1
TrueType or OpenType/CFF font bytes to inspect for Unicode glyph coverage.
unicodeRanges OfficeIMO.Drawing.OfficeFontUnicodeRangeSet requiredposition: 2
Unicode scalars this candidate is allowed to serve.

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.