Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface TypefaceFontProvider
import { type TypefaceFontProvider } from "https://deno.land/x/canvaseno@v1.0.2/mod.ts";

Methods

registerFont(bytes: ArrayBuffer | Uint8Array, family: string): void

Registers a given typeface with the given family name (ignoring whatever name the typface has for itself).