Closed JeppeKlitgaard closed 1 year ago
This is possibly out of scope, you can already use the woff2_compress tool from Google/woff2, or alternatively the fonttools ttLib.woff2 compress
tool if you need it in python (requires brotli python bindings, install FontTools with the "woff" extra as in pip install fonttools[woff])
I'll give the google/woff2 tool a look. Feel free to close if you feel this is definitely out-of-scope!
Out of scope imho, widely available open tools are availabe for this job.
Would there be appetite for including the code required to compress the generated font into a WOFF2? This could be added as an additional option and should be relatively simple to implement. I realise this may be beyond the scope of
nanoemoji
.With COLRv1 gaining adoption across web-browsers, color fonts seem likely to see increased usage on the web in the future.