OS Manuals

ttf2woff(1)

ttf2woff - create WOFF file from TTF file

TTF2WOFF(1) User Contributed Perl Documentation TTF2WOFF(1)

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.

2026-10-03 perl v5.44.0

perl-font-ttf-scripts 1.06-r0 · os · ingested 2026-10-04