Skip to main content


Canvas API for Deno, ported from canvaskit-wasm (Skia).
Go to Latest
interface SkFontMgrFactory
import { type SkFontMgrFactory } from "";


FromData(...buffers: ArrayBuffer[]): SkFontMgr | null

Create an SkFontMgr with the created font data. Returns null if buffers was empty.

RefDefault(): SkFontMgr

Return the default SkFontMgr. This will generally have 0 or 1 fonts in it, depending on if the demo monospace font was compiled in.