ttfcompare - Compare details of two fonts
ttfcompare [-a] [-f] [-o outfile] [-t table] [-z opts] font1 font2 ttfcompare -h
-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.
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.
None known
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.