Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeFontFallbackPack

OfficeIMO.Drawing

Namespace
OfficeIMO.Drawing
Assembly
OfficeIMO.Core
Source revision
ba882f6b0d07 with working tree changes
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 string required
Stable pack identifier suitable for logs and artifact manifests.
defaultFamilyNames string required
Office/CSS family list used when the source has no explicit family.
fonts OfficeIMO.Drawing.OfficeFontFaceCollection required
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) #

Creates a shared rendering profile over this pack.

Parameters

textShapingProvider OfficeIMO.Drawing.IOfficeTextShapingProvider? = null optional
textShapingLanguage string? = null optional
imageCodec OfficeIMO.Drawing.IOfficeRasterImageCodec? = null optional
policy OfficeIMO.Drawing.OfficeImageExportPolicy? = null optional

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.