@mocanvas/mocanvas · constant

allDefaultFontFaces

declare const allDefaultFontFaces: readonly TLFontFace[]

Every built-in face as a flat list.

The form a preloader wants: "load everything the default shapes might draw with" is one Promise.all over this, where walking the nested table would be four loops and an ordering question.

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.