Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Woff2 support #3

Closed
shuding opened this issue Feb 2, 2022 · 2 comments
Closed

Woff2 support #3

shuding opened this issue Feb 2, 2022 · 2 comments
Labels

Comments

@shuding
Copy link
Member

shuding commented Feb 2, 2022

Currently opentype.js doesn't support woff2, which is usually 30% the size of woff. Fontkit might be a good alternative for this (but the lib is larger).

Ref: opentypejs/opentype.js#183

@shuding shuding added the enhancement New feature or request label Feb 2, 2022
@shuding
Copy link
Member Author

shuding commented Feb 2, 2022

Another advanced feature that Fontkit supports is color emoji glyphs, downside is Fontkit is Node.js only (using Buffer and fs). Options:

@shuding
Copy link
Member Author

shuding commented Mar 19, 2022

Decided to put a lower priority on this. TTF & OTF are faster to load and parse, so on the server side we will always recommend using them unless there's a size limitation. WOFF is a good balance of size and parsing speed (smaller but slightly longer to load).

@shuding shuding added backlog and removed enhancement New feature or request labels Aug 3, 2022
@vercel vercel locked and limited conversation to collaborators Oct 10, 2022
@shuding shuding converted this issue into discussion #157 Oct 10, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
Projects
None yet
Development

No branches or pull requests

1 participant