Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/skia_canvas/src/font.ts>Fonts.register

Fast HTML Canvas API implementation for Deno using Google Skia
Latest
method Fonts.register
import { Fonts } from "https://deno.land/x/skia_canvas@0.5.8/src/font.ts";

Register a font either from file or in memory buffer

Parameters

path: string

Parameters

data: Uint8Array
optional
alias: string