Skip to content

Remove woff npm package and use ttf font downloads to generate previews #33

@creativecoder

Description

@creativecoder

Discovered in #31, the woff npm package requires using an older version of npm (v18) and prevents us from updating to v20 and above. Ideally I think we'd keep the npm version of this repo in sync with Gutenberg for consistency.

The woff package is only used to convert woff2 format fonts into ttf so that we can generate an SVG preview from the ttf file. Instead, we could download the ttf version of the font from Google Fonts and use it to generate the preview, without needing to convert it first.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions