1SFDDIFF(1) General Commands Manual SFDDIFF(1)
2
3
4
6 sfddiff - compare two font files
7
9 sfddiff [--help] [--ignorehints] [--ignorenames] [--ignoregpos]
10 [--ignoregsub] [--ignorebitmaps] [--exact] [--warn] [-merge outfile]
11 [--usage] [--version] fontfile1 fontfile2
12
14 The program sfddiff compares two font files, which may be in any format
15 fontforge(1) can read. It will notice the following differences:
16
17 1) Characters are present in one font but not in the other.
18
19 2) Characters are present in both fonts but have different sets of
20 outlines or references. The outlines may be compared so that
21 only exact matches are accepted, or so that a fuzzier match is
22 used. Similarly references may need to match exactly, or may be
23 matched after an unlink.
24
25 This fuzzy comparison is useful when comparing truetype and postscript
26 fonts, or when comparing a font with references to one without.
27
28 3) The postscript hints or truetype instructions are different.
29
30 4) The font names (the truetype 'name' table) differ.
31
32 5) The kerning (and other gpos information) differs.
33
34 6) The ligatures (and other gsub information) differ.
35
36 7) Any bitmap strikes present in one font but not in the other.
37
38 8) Any bitmap characters present in one strike of one font but in
39 the equivalent strike of the other.
40
41 9) Any bitmap characters which differ.
42
44 --help Provide a description with a list of the available options.
45
46 --ignorehints
47 Suppress the reporting of hint/instruction differences.
48
49 --ignoregpos
50 Suppress the reporting of kerning (and other gpos) differences.
51
52 --ignoregsub
53 Suppress the reporting of ligature (and other gsub) differences.
54
55 --ignorenames
56 Suppress the reporting of name string differences.
57
58 --ignorebitmaps
59 Suppress the reporting of bitmap differences.
60
61 --exact
62 Require outlines to match exactly.
63
64 --warn Warn if the outlines/references are slightly different.
65
66 -merge outfile
67 Store a merged version of the two fonts into the specified out‐
68 put file. The merged data will be based on sfdfile1, as well as
69 any characters present in sfdfile2 but not in sfdfile1will‐
70 beadded,andtheoutlinesof sfdfile2 will be placed in the back‐
71 ground. Finally, for any characters with different outlines or
72 references the background of the the character will contain the
73 outlines from sfdfile2 (references will be unlinked into out‐
74 lines and those outlines also will be added)
75
76 --usage
77 Display the usage description.
78
79 --version
80 Display the current version
81
83 fontforge(1)
84
85 The HTML version of the fontforge manual at:
86
87 http://fontforge.sourceforge.net/
88
90 Copyright (C) 2000-2006 by George Williams (gww@silcom.com). Manual
91 page heavily rewritten and modified to use standard -man(5) macros by
92 R.P.C. Rodgers (rodgers@nlm.nih.gov), 23 October 2002.
93
94
95
96 8 April 2006 SFDDIFF(1)