Table of Contents

Class EmbeddedFontSource

Namespace
DocWright.Fonts
Assembly
DocWright.Fonts.dll

One embedded font payload supplied to the font engine (for example from DOCX /word/fonts parts).

public sealed class EmbeddedFontSource
Inheritance
EmbeddedFontSource
Inherited Members

Constructors

EmbeddedFontSource(ReadOnlyMemory<byte>, string)

Initializes an embedded font source.

Properties

FamilyNameOverride

Gets or sets an optional family override supplied by the container metadata.

FontBytes

Gets the raw font payload.

ObfuscationKey

Gets or sets the GUID key used for ODTTF de-obfuscation. When set, the first 32 bytes are XOR-deobfuscated before parsing.

PanoseOverride

Gets or sets an optional PANOSE override supplied by the container metadata.

SourceName

Gets the source identifier used in diagnostics.

StretchOverride

Gets or sets an optional stretch override supplied by the container metadata.

StyleOverride

Gets or sets an optional style override supplied by the container metadata.

WeightOverride

Gets or sets an optional weight override supplied by the container metadata.