Skip to main content
Module

x/targadactyl/deps.ts>FontMgrFactory

tga.js implemented in Deno
Latest
interface FontMgrFactory
import { type FontMgrFactory } from "https://deno.land/x/targadactyl@1.2.0/deps.ts";

Methods

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

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

RefDefault(): FontMgr

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