Skip to content

loadText

loadText(source?): Promise<void>

Loads the text module (fonts, shaping and text layout; about 940 KB gzipped). Builders created afterwards can draw text. Idempotent.

WasmSource

where it comes from; omitted, the file next to the package.

Promise<void>