google / woff2

MIT License
1.49k stars 181 forks source link

Compres multiple .ttf #157

Open janstieler opened 1 year ago

janstieler commented 1 year ago

Hi, is it possible to compress multiple fonts in one call?

Cheers

SMSourov commented 1 year ago

I'm also looking for this answer.

evanlanester commented 1 year ago

You can run the following in shell: for file in *.ttf; do woff2_compress $file; done or for file in *.otf; do woff2_compress $file; done

janstieler commented 1 year ago

Thanks, I will try!

matiasperrone commented 7 months ago

If the file has weird names, use this slight change: for file in *.otf; do woff2_compress "$file"; done