Class
PdfEmbeddedFontFallbackCandidate
OfficeIMO.Pdf
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
- Display name used in fallback segments and diagnostics.
- trueTypeFont byte[]
- 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
- Display name used in fallback segments and diagnostics.
- trueTypeFont byte[]
- TrueType or OpenType/CFF font bytes to inspect for Unicode glyph coverage.
- unicodeRanges OfficeIMO.Drawing.OfficeFontUnicodeRangeSet
- 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
- Font family whose regular face decides coverage and whose styled faces paint styled runs.