Skip to content

FetchFontSetOptions

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

Options for fetchFontSet.

readonly optional family?: string

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

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


readonly optional fetch?: FetchLike

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

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