fetchFontSet
fetchFontSet(
options?):Promise<FontBytesByVariant>
Defined in: src/core/fonts/remote-fonts.ts:175
Download a full variant set (regular required; bold/italic/bold-italic best-effort) for the open family that best matches the requested name.
Parameters
Section titled “Parameters”options?
Section titled “options?”FetchFontSetOptions = {}
The family to substitute and an optional fetch override.
Returns
Section titled “Returns”Promise<FontBytesByVariant>
The downloaded font bytes per variant.
Throws
Section titled “Throws”Error when the required regular face cannot be downloaded.