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

Compres multiple .ttf #157

Open
janstieler opened this issue Nov 3, 2022 · 4 comments
Open

Compres multiple .ttf #157

janstieler opened this issue Nov 3, 2022 · 4 comments

Comments

@janstieler
Copy link

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

Cheers

@SMSourov
Copy link

I'm also looking for this answer.

@evanlanester
Copy link

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
Copy link
Author

Thanks, I will try!

@matiasperrone
Copy link

matiasperrone commented Feb 5, 2024

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

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

4 participants