google / woff2

MIT License
1.53k stars 190 forks source link

Compres multiple .ttf #157

Open janstieler opened 2 years ago

janstieler commented 2 years ago

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

Cheers

SMSourov commented 2 years 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 10 months ago

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