Skip to main content
Module

x/targadactyl/deps.ts>FontMgr

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

See SkFontMgr.h for more details

Methods

countFamilies(): number

Return the number of font families loaded in this manager. Useful for debugging.

getFamilyName(index: number): string

Return the nth family name. Useful for debugging.

MakeTypefaceFromData(fontData: ArrayBuffer): Typeface

Create a typeface for the specified bytes and return it.