F
install
Installs a font by family name or link, optionally only some weights and styles.
function install(input: string, variants?: UnboundFontVariant[]): Promise<UnboundFontInstallResult | undefined>Parameters
| Name | Type | Description |
|---|---|---|
| input | string | |
| variants? | UnboundFontVariant[] |
Returns
Promise<UnboundFontInstallResult | undefined>