Skip to content

Conversation

@hi-ogawa
Copy link
Contributor

@hi-ogawa hi-ogawa commented Sep 30, 2025

See unjs/fontaine#659 and unjs/fontaine#660 for more context. Including fallback font format for old browser / user agent is not a good default experience for fontless. This is because old user agent response assumes no woff2 support and no variable font support, so the number of css and font assets required becomes drastically large compared to woff2 only assumption.

This adds an option to filter fallback font out on unifont side via experimental.modernFormatsOnly.

@hi-ogawa hi-ogawa changed the title feat: add excludeFallbackFormats to google provider feat: ability to exclude fallback font formats on google provider Sep 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant