Skip to content

Clear fonts loaded with the Font Loading API #15

@keithclark

Description

@keithclark

Some font loading techniques use the Font Loading API alongside @font-face and/or <link>. In these cases, disabling the @font-face declaration doesn't prevent the font from rendering.

More information is available in #6, particularly this comment.

This should be a case of calling document.fonts.clear() at the appropriate time, however investigation is required to understand the impact this will have on a document when the toggle is disabled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions