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

Serializing into WOFF2? #101

Closed
gendx opened this issue Dec 21, 2023 · 1 comment
Closed

Serializing into WOFF2? #101

gendx opened this issue Dec 21, 2023 · 1 comment

Comments

@gendx
Copy link
Contributor

gendx commented Dec 21, 2023

It seems that the subset() function is hard-coded to output the result in OpenType format. I was wondering if you would consider adding a way to serialize into WOFF2 format as well? WOFF2 can be useful for web contexts, to embed the font into SVG files, etc.

@wezm
Copy link
Contributor

wezm commented Dec 21, 2023

While possible, I don't think this would be a high priority as it's fairly easy to convert a TTF to WOFF2 with something like woff2_compress from https://github.com/google/woff2. Also be aware of #27 in regards to subsetting.

@wezm wezm closed this as not planned Won't fix, can't repro, duplicate, stale Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants