ttf2woff

Command line utility converts TrueType and OpenType fonts to the WOFF format. It also reads TTC collections and WOFF2 (experimental), as well as WOFF for recompression. Outputs WOFF and TTF.

ttf2woff [-v] [-O|-S] [-t type] [-X table]... [-m file] [-p file] input [output]
ttf2woff -i [-v] [-O|-S] [-X table]... [-m file] [-p file] file
ttf2woff -l input
 -i      in place modification (no backup!)
 -O      optimize (default unless signed)
 -S      don't optimize
 -t fmt  output format: woff, ttf
 -u num  font number in collection (ttc), 0-based
 -d name Remove feature: hints, metadata, private
 -X tag  Remove table
 -m file metadata
 -p file private data
 -l      list tables
 -v      be verbose / print version
Use `-' to indicate standard input/output.
Skip output for dry run.

By default, ttf2woff tries to find more compact representation of some font tables (with marginal gain, usually).

Download

Source: ttf2woff-1.9.tar.gz

See also

MIME type of WOFF is font/woff.

Free Web Hosting