ttf2woff - create WOFF file from TTF file
ttf2woff [-m metadatafile] [-p privatefile] infile.ttf outfile.woff
Converts a TTF file into a WOFF file appending optional metadata and private data.
-c Recompute all checksums -m file File containing XML WOFF metadata -p file File containing arbitrary data -v major.minor WOFF version number -h Prints help
Does what it says on the tin.
By default ttf2woff fails if the input font has checksum errors.
If -c is specified, all font checksums are recalculated. In this case if the input font has a non-null DSIG table it will omitted from output.
Martin Hosken http://scripts.sil.org/FontUtils. (see CONTRIBUTORS for other authors).
Copyright (c) 1998-2016, SIL International (http://www.sil.org)
This script is released under the terms of the Artistic License 2.0. For details, see the full text of the license in the file LICENSE.
To install Font::TTF::Scripts, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Font::TTF::Scripts
CPAN shell
perl -MCPAN -e shell install Font::TTF::Scripts
For more information on module installation, please visit the detailed CPAN module installation guide.