N

fonts

namespace fonts

Functions

F

get(id: PropertyKey): FontDescriptor | undefined

Reads one installed font by family name.

Lists every installed font.

F

install(url: string): Promise<string | undefined>

Installs a font from a URL, resolving the installed file name.

F

uninstall(file: string): Promise<void>

Removes an installed font by the file name install resolved.