# OfficeFontFallbackPack

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

Class 

`OfficeIMO.Drawing`

**Namespace**

`OfficeIMO.Drawing`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[OfficeFontFallbackPack.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/OfficeFontFallbackPack.cs#L18)

**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

Filter members 

Show inherited

## Constructors

`public OfficeFontFallbackPack(string id, string defaultFamilyNames, OfficeFontFaceCollection fonts)` [#](#constructor-ctor-string-string-officeimo-drawing-officefontfacecollection)

[OfficeFontFallbackPack.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/OfficeFontFallbackPack.cs#L18)

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)` [#](#method-createrenderingprofile-officeimo-drawing-iofficetextshapingprovider-string-officeimo-drawing-iofficerasterimagecodec-officeimo-drawing-officeimageexportpolicy)

[OfficeFontFallbackPack.cs:51](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/OfficeFontFallbackPack.cs#L51)

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**

Returns

`OfficeRenderingProfile`

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string Id { get; }` [#](#property-id)

[OfficeFontFallbackPack.cs:34](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/OfficeFontFallbackPack.cs#L34)

Stable pack identifier.

`public string DefaultFamilyNames { get; }` [#](#property-defaultfamilynames)

[OfficeFontFallbackPack.cs:37](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/OfficeFontFallbackPack.cs#L37)

Default Office/CSS family list for this pack.

`public string Fingerprint { get; }` [#](#property-fingerprint)

[OfficeFontFallbackPack.cs:40](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/OfficeFontFallbackPack.cs#L40)

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

`public OfficeFontFaceCollection Fonts { get; }` [#](#property-fonts)

[OfficeFontFallbackPack.cs:43](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/OfficeFontFallbackPack.cs#L43)

Independent snapshot of all registered faces and ordered fallback families.

<!-- PowerForge markdown artifact sha256:EAEA59285BBC24D898A159CB04F31851419594AF261CDFFDE6B41A9EF5FE6DFE -->
