import { Fonts } from "https://deno.land/x/skia_canvas@0.5.8/src/font.ts";
Manage fonts to be used by Skia.
Static Methods
register(path: string): void
Register a font either from file or in memory buffer
register(data: Uint8Array, alias?: string): void
registerDir(dir: string): number
Register all fonts in a directory.
setAlias(alias: string, family: string)
Set alias for a font family.