Web SDKv1.0.0

FontRegistry.destroy()

Drops the loaded bytes and the preview faces it added to document.fonts.
methodLifecyclesince 1.0.0

Signature

destroy(): void

Returns

void

Example

TypeScript
fonts.destroy();

More in FontRegistry