justvanrossum / nabla

Typearture's Isometric COLRv1 Typeface
SIL Open Font License 1.1
158 stars 7 forks source link

`.woff2` version #57

Open o-t-w opened 1 year ago

o-t-w commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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

anthrotype commented 1 year ago

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 commented 1 year ago

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

justvanrossum commented 1 year ago

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