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

Add a font minifier Step #35

Open
3 tasks
pydsigner opened this issue Aug 9, 2023 · 1 comment
Open
3 tasks

Add a font minifier Step #35

pydsigner opened this issue Aug 9, 2023 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@pydsigner
Copy link
Owner

  • Use cssselect, tinycss2, and lxml/beautifulsoup4 to identify which glyphs are used for each font
  • Beware of glyphs that may be inserted from JavaScript
  • Use fonttools.subset to reduce font files to the identified glyphs
@pydsigner pydsigner added this to the 2.0.0 milestone Aug 9, 2023
@pydsigner pydsigner added the enhancement New feature or request label Aug 9, 2023
@pydsigner
Copy link
Owner Author

Could look for particularly prefixed comments in JavaScript files.

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

1 participant