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

make woff2_compress less verbose #154

Open
mrecord opened this issue Aug 30, 2022 · 0 comments
Open

make woff2_compress less verbose #154

mrecord opened this issue Aug 30, 2022 · 0 comments

Comments

@mrecord
Copy link

mrecord commented Aug 30, 2022

A minor issue that bugs me every time I run fonts through woff2_compress:

Every time a font is converted woff2_compress prints the origin path, destination path, and compression statistics.

ex:

Processing /Users/user/path/path/path/font.ttf => /Users/user/path/path/path/font.woff2
Compressed 107080 to 32351.
Processing /Users/user/path/path/path/font1.ttf => /Users/user/path/path/path/font1.woff2
Compressed 106689 to 31944.
Processing /Users/user/path/path/path/font2.ttf => /Users/user/path/path/path/font2.woff2
Compressed 105675 to 30153.
Processing /Users/user/path/path/path/font3.ttf => /Users/user/path/path/path/font3.woff2
Compressed 106978 to 32418.
Processing /Users/user/path/path/path/font4.ttf => /Users/user/path/path/path/font4.woff2
Compressed 107080 to 32351.
Processing /Users/user/path/path/path/font5.ttf => /Users/user/path/path/path/font5.woff2
Compressed 106607 to 32891.

It's unnecessary information that clutters the terminal window.
This information should be an optional argument (-v|verbose) or removed.

Thank you!

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

1 participant