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
26 postscript fonts, or when comparing a font with references to
27 one without.
28
29 3) The postscript hints or truetype instructions are different.
30
31 4) The font names (the truetype `name' table) differ.
32
33 5) The kerning (and other `gpos' information) differs.
34
35 6) The ligatures (and other `gsub' information) differ.
36
37 7) Any bitmap strikes present in one font but not in the other.
38
39 8) Any bitmap characters present in one strike of one font but in
40 the equivalent strike of the other.
41
42 9) Any bitmap characters which differ.
43
45 --help Provide a description with a list of the available options.
46
47 --ignorehints
48 Suppress the reporting of hint/instruction differences.
49
50 --ignoregpos
51 Suppress the reporting of kerning (and other `gpos') differ‐
52 ences.
53
54 --ignoregsub
55 Suppress the reporting of ligature (and other `gsub') differ‐
56 ences.
57
58 --ignorenames
59 Suppress the reporting of name string differences.
60
61 --ignorebitmaps
62 Suppress the reporting of bitmap differences.
63
64 --exact
65 Require outlines to match exactly.
66
67 --warn Warn if the outlines/references are slightly different.
68
69 --merge outfile
70 Store a merged version of the two fonts into the specified out‐
71 put file. The merged data will be based on sfdfile1, as well as
72 any characters present in sfdfile2 but not in sfdfile1 will be
73 added, and the outlines of sfdfile2 will be placed in the back‐
74 ground. Finally, for any characters with different outlines or
75 references the background of the the character will contain the
76 outlines from sfdfile2 (references will be unlinked into out‐
77 lines and those outlines also will be added).
78
79 --usage
80 Display the usage description.
81
82 --version
83 Display the current version.
84
86 fontforge(1)
87
88 The HTML version of the fontforge manual at:
89
90 http://fontforge.sourceforge.net/
91
93 Copyright (C) 2000-2006 by George Williams (gww@silcom.com). Manual
94 page heavily rewritten and modified to use standard -man(5) macros by
95 R.P.C. Rodgers (rodgers@nlm.nih.gov), 23 October 2002.
96
97
98
99 8 April 2006 SFDDIFF(1)