Skip to content

[fontless] support generating only woff2 formats without woff #659

@hi-ogawa

Description

@hi-ogawa

🆒 Your use case

As noted in #657, unifont google provider includes both woff2 and woff with overlapping font data. For many application targeting modern browser, only woff2 is necessary.

Related to #658, with current single hard-coded font, this is less noticable, but when requesting multiple weight range, it looks like meta.priority: 1 version cannot return variable fonts (perhaps because google returns non variable font for old user agent) and it causes downloading a lot more unnecessary font files for each weight.

🆕 The solution you'd like

Use only fonts with meta.priority: 0 on fontless side by default.

🔍 Alternatives you've considered

No response

ℹ️ Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions