preloadFont

See source code
function preloadFont(id: string, font: TLTypeFace): Promise<FontFace>

Parameters

NameDescription

id

string

font

Returns

Promise<FontFace>
Prev
parseTldrawJsonFile
Next
registerDefaultExternalContentHandlers