sempdf v1.9.1Type aliases
Type Alias: FontSource
sempdf / FontSource
type FontSource =
| BinaryData
| {
data: BinaryData;
ttcIndex?: number;
}
| {
path: string;
ttcIndex?: number;
}
| {
fetch?: typeof fetch;
signal?: AbortSignal;
ttcIndex?: number;
url: string | URL;
}
| object & LoadGoogleFontOptions;Defined in: src/fonts.ts:12
A font file source understood by the high-level font API.