Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OfficeFontFallbackPack

Namespace OfficeIMO.Drawing
Assembly OfficeIMO.Core
Modifiers sealed

Immutable, fingerprinted set of deterministic font faces and fallback order that can be reused across HTML, PDF, SVG, image, and document-conversion options.

Inheritance

  • Object
  • OfficeFontFallbackPack

Constructors

public OfficeFontFallbackPack(String id, String defaultFamilyNames, OfficeFontFaceCollection fonts) #

Creates a validated snapshot of one portable fallback pack.

Parameters

id System.String requiredposition: 0
Stable pack identifier suitable for logs and artifact manifests.
defaultFamilyNames System.String requiredposition: 1
Office/CSS family list used when the source has no explicit family.
fonts OfficeIMO.Drawing.OfficeFontFaceCollection requiredposition: 2
Registered faces, aliases, Unicode ranges, and ordered fallback families.

Methods

public OfficeRenderingProfile CreateRenderingProfile(IOfficeTextShapingProvider textShapingProvider = null, String textShapingLanguage = null, IOfficeRasterImageCodec imageCodec = null, OfficeImageExportPolicy policy = null) #
Returns: OfficeRenderingProfile

Creates a shared rendering profile over this pack.

Parameters

textShapingProvider OfficeIMO.Drawing.IOfficeTextShapingProvider = null optionalposition: 0
textShapingLanguage System.String = null optionalposition: 1
imageCodec OfficeIMO.Drawing.IOfficeRasterImageCodec = null optionalposition: 2
policy OfficeIMO.Drawing.OfficeImageExportPolicy = null optionalposition: 3

Properties

public String Id { get; } #

Stable pack identifier.

public String DefaultFamilyNames { get; } #

Default Office/CSS family list for this pack.

public String Fingerprint { get; } #

Lowercase SHA-256 over the pack identity, faces, program instances, ranges, bytes, and fallback order.

public OfficeFontFaceCollection Fonts { get; } #

Independent snapshot of all registered faces and ordered fallback families.