Fonts
Convert OTF to WOFF2
Install the woff2 command line utility from Google.
sh
brew install woff2To convert a file into woff2, use the woff2_compress command. To covert a file from woff2, use the woff2_decompress command.
sh
woff2_compress myfont.ttf
woff2_decompress myfont.woff2Do this as a batch job in fish using loops:
fish
for f in *.otf;
woff2_compress $f;
end