Skip to content
Lamina PDF
Unreleased

These docs describe changes that aren’t released yet. For the newest release, see the released docs.

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>