Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter material fonts for the Studio-Web, Web-C, and the font bundle for Offline HTML #350

Open
joanise opened this issue Oct 9, 2024 · 1 comment

Comments

@joanise
Copy link
Member

joanise commented Oct 9, 2024

We include the whole of Material fonts in each Offline HTML download, and we load the whole thing each time we load a web-c or the Studio-Web, but we only use about a dozen symbols out of it.

It would be great to filter them.

@dhdaines found these relevant references:
https://the-sustainable.dev/a-guide-to-subsetting-fonts/
https://github.com/zachleat/glyphhanger

@joanise
Copy link
Member Author

joanise commented Oct 9, 2024

This would probably be a minimal optimization for Studio-Web and online Web-Component, especially with caching, but a much more significant one for the Offline HTML and the b64 font bundle.

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

No branches or pull requests

1 participant