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

Include unicode-range for all CSS files #409

Open
jwr1 opened this issue Jan 7, 2022 · 2 comments
Open

Include unicode-range for all CSS files #409

jwr1 opened this issue Jan 7, 2022 · 2 comments
Labels
enhancement New feature or request
Projects

Comments

@jwr1
Copy link
Member

jwr1 commented Jan 7, 2022

Currently, the unicode-range property is only provided for the [weight].css files. I suggest we provide the property for all CSS files so the browser can dynamically filter out unused font subsets.

@jwr1 jwr1 added the enhancement New feature or request label Jan 7, 2022
@ayuhito ayuhito added this to To do in 5.x Jan 14, 2022
@ayuhito
Copy link
Member

ayuhito commented Oct 22, 2022

The only blocker for this is the lack of information on what unicode-range's certain languages cover. The current information we have is insufficient to determine the optimal ranges for each subset as CJK fonts are split into numbered subsets. So we will need to find a way to analyze the font files for the correct information. Would appreciate some suggestions for this.

@ayuhito ayuhito added needs community input Needs additional discussion and removed needs community input Needs additional discussion labels Oct 22, 2022
@ayuhito
Copy link
Member

ayuhito commented Oct 23, 2022

This is doable if we follow how Wakamai Fondue implements its font analysis tooling.

This a gold mine of a website and there's lots to learn from it! I'm sure we can implement a bunch of the features from there too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
5.x
To do
Development

No branches or pull requests

2 participants