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();document.fonts.void
fonts.destroy();