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

Ability to filter character ranges in google fonts plugin #692

Open
RickCogley opened this issue Nov 18, 2024 · 0 comments
Open

Ability to filter character ranges in google fonts plugin #692

RickCogley opened this issue Nov 18, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@RickCogley
Copy link
Contributor

Enter your suggestions in details:

I tried out the google fonts plugin and it works like a charm, really good work! It's clever to name the font files text-nnn.woff or display-nnn.woff so that you can just specify the generic name in your css, then refer to it no matter what font you decide on.

But a question: I noticed in the generated css and downloaded fonts, that there are many additional character ranges for cyrillic, vietnamese, greek etc, and since I won't be entering text in these, is there any way to suppress those ranges? Just seems like it will use up disk space for no reason.

I read somewhere that the browser will download only the fonts it needs, that are on the page, and I saw some forum posts on this topic, related to google fonts, but I was hoping it would be possible to filter the unneeded ones out.

@RickCogley RickCogley added the enhancement New feature or request label Nov 18, 2024
@oscarotero oscarotero added this to the 2.5.0 milestone Nov 19, 2024
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
None yet
Development

No branches or pull requests

2 participants