Skip to content

FetchFontSetOptions

Defined in: src/core/fonts/remote-fonts.ts:382

Options for fetchFontSet.

readonly optional family?: string

Defined in: src/core/fonts/remote-fonts.ts:384

Document font family name to substitute, or a curated FamilyKey directly.


readonly optional fetch?: FetchLike

Defined in: src/core/fonts/remote-fonts.ts:386

Injectable fetch (defaults to the global fetch); lets tests run offline.