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

Parse Webfonts #12

Open
jedateach opened this issue Apr 20, 2020 · 0 comments
Open

Parse Webfonts #12

jedateach opened this issue Apr 20, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@jedateach
Copy link

jedateach commented Apr 20, 2020

Rather than using a custom format to store the font, is it viable to instead parse a webfont?
I'm sure the webfont formats are already light weight compared to the format used by this library, so there would surely be savings there.

In my mind this would effectively cut out the need to do font conversion, and open the library to easily accessing many more fonts. There could be download savings if the font is used on other parts of the site already.

Looks like there's already js libraries to do parsing: https://opentype.js.org.
It might just be a matter of creating some kind of transformer that takes their data and converts it to txtjs form.

@jedateach jedateach added the enhancement New feature or request label Apr 20, 2020
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