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

.woff2 version #57

Open
o-t-w opened this issue Nov 29, 2022 · 5 comments
Open

.woff2 version #57

o-t-w opened this issue Nov 29, 2022 · 5 comments

Comments

@o-t-w
Copy link

o-t-w commented Nov 29, 2022

Is there a .woff2 version you could include in the download? I know there are tools I could use to convert it but some of those are not compatible with variable color fonts afaik.

@anthrotype
Copy link

some of those are not compatible with variable color fonts afaik

I don't think so. What do you mean by that? woff2 compressors (e.g. the c++ one from google/woff2 repo, or the fonttools ttLib.woff2 compress script in the python FontTools library) do not care whether the font contains variation tables or has COLR or SVG or any other color tables.

@o-t-w
Copy link
Author

o-t-w commented Nov 29, 2022

Last time I checked the webfont generator at FontSquirrel messes them up.

@anthrotype
Copy link

maybe they are dropping tables they don't know about, I have no idea how that works, but the mere act of woff2-compressing a font does not involve dealing with variable or color tables at all.
I suggest you try using woff2_compress command line tool directly https://github.com/google/woff2

@justvanrossum
Copy link
Owner

I wonder why the download from Google Fonts doesn't include .woff2.

@justvanrossum
Copy link
Owner

I just checked, and FontSquirrel indeed drops the COLR/CPAL tables.

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

3 participants