The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

TITLE

ttfcompare - Compare details of two fonts

SYNOPSIS

  ttfcompare [-a] [-f] [-o outfile] [-t table] [-z opts] font1 font2
  ttfcompare -h

OPTIONS

 -h       Show extended usage
 -a       Show all occurences per Name ID (name table only)
 -f       Display the full string instead of just 100 characters (name table only)
 -o file  Output to file instead of screen
 -t table What table to compare, identified by tag
 -z val   Some comparisons have options to control what is compared; see below.

DESCRIPTION

Compares values in the specified table between the two fonts and displays differences on screen. Currently works for name, cmap, hmtx and post tables only.

If no table is specified, compares checksums and lengths of all tables.

With the name table, by default it shows just one per Name ID and the first 100 characters of each string

Values for -z are specific to tables being compared.

For hmtx table, the -z value identifies what will be compared:

  bit 0:   lsb
  bit 1:   aw
  bit 2:   rsb
  bit 3:   xMin
  bit 4:   yMin
  bit 5:   xMax
  bit 6:   yMax
  bit 7:   numberOfContours

These values will be displayed left-to-right. If bit 8 is set, compare will allow up to difference of 3 in any value.

BUGS

None known

AUTHOR

Martin Hosken http://scripts.sil.org/FontUtils. (see CONTRIBUTORS for other authors).

LICENSING

Copyright (c) 1998-2014, 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.