API Reference
Class
OfficeFontFallbackPack
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
- Stable pack identifier suitable for logs and artifact manifests.
- defaultFamilyNames System.String
- Office/CSS family list used when the source has no explicit family.
- fonts OfficeIMO.Drawing.OfficeFontFaceCollection
- 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:
OfficeRenderingProfileCreates a shared rendering profile over this pack.
Parameters
- textShapingProvider OfficeIMO.Drawing.IOfficeTextShapingProvider = null
- textShapingLanguage System.String = null
- imageCodec OfficeIMO.Drawing.IOfficeRasterImageCodec = null
- policy OfficeIMO.Drawing.OfficeImageExportPolicy = null
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
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.