| 1 |
\." Copyright (c) 2000-2006 by George Williams ([email protected]). Manual |
| 2 |
\." page heavily rewritten and modified to use standard -man(5) macros |
| 3 |
\." by R.P.C. Rodgers ([email protected]), 23 October 2002. Paul Hardy |
| 4 |
\." reconstructed the original man page in 2017. |
| 5 |
.TH SFDDIFF 1 "2017 Jun 18" |
| 6 |
.SH NAME |
| 7 |
sfddiff \- compare two font files |
| 8 |
.SH SYNOPSIS |
| 9 |
.BR sfddiff |
| 10 |
[\fB\-\-help\fP] |
| 11 |
[\fB\-\-ignorehints\fP] |
| 12 |
[\fB\-\-ignorenames\fP] |
| 13 |
[\fB\-\-ignoregpos\fP] |
| 14 |
[\fB\-\-ignoregsub\fP] |
| 15 |
[\fB\-\-ignorebitmaps\fP] |
| 16 |
[\fB\-\-exact\fP] |
| 17 |
[\fB\-\-warn\fP] |
| 18 |
[\fB\-\-merge\fP\ \fIoutfile\fP] |
| 19 |
[\fB\-\-usage\fP] |
| 20 |
[\fB\-\-version\fP] |
| 21 |
.I fontfile1 fontfile2 |
| 22 |
.SH DESCRIPTION |
| 23 |
The program \fBsfddiff\fP compares two font files, |
| 24 |
which may be in any format that \fBfontforge\fP(1) can read. |
| 25 |
It will notice the following differences: |
| 26 |
.TP 4 |
| 27 |
1) |
| 28 |
Characters are present in one font but not in the other. |
| 29 |
.TP |
| 30 |
2) |
| 31 |
Characters are present in both fonts but have different sets |
| 32 |
of outlines or references. The outlines may be compared so that |
| 33 |
only exact matches are accepted, or so that a fuzzier match is |
| 34 |
used. Similarly references may need to match exactly, or may be |
| 35 |
matched after an unlink. This fuzzy comparison is useful when |
| 36 |
comparing truetype and postscript fonts, or when comparing a font |
| 37 |
with references to one without. |
| 38 |
.TP |
| 39 |
3) |
| 40 |
The PostScript hints or TrueType instructions are different. |
| 41 |
.TP |
| 42 |
4) |
| 43 |
The font names (the TrueType 'name' tables) differ. |
| 44 |
.TP |
| 45 |
5) |
| 46 |
The kerning (and other 'gpos' information) differs. |
| 47 |
.TP |
| 48 |
6) |
| 49 |
The ligatures (and other 'gsub' information) differ. |
| 50 |
.TP |
| 51 |
7) |
| 52 |
Any bitmap strikes present in one font but not in the other. |
| 53 |
.TP |
| 54 |
8) |
| 55 |
Any bitmap characters present in one strike of one font |
| 56 |
but not in the equivalent strike of the other. |
| 57 |
.TP |
| 58 |
9) |
| 59 |
Any bitmap characters which differ. |
| 60 |
.SH OPTIONS |
| 61 |
.TP 16 |
| 62 |
.B \-\-help |
| 63 |
Provide a description with a list of the available options. |
| 64 |
.TP |
| 65 |
.B \-\-ignorehints |
| 66 |
Suppress the reporting of hint/instruction differences. |
| 67 |
.TP |
| 68 |
.B \-\-ignoregpos |
| 69 |
Suppress the reporting of kerning (and other 'gpos') differences. |
| 70 |
.TP |
| 71 |
.B \-\-ignoregsub |
| 72 |
Suppress the reporting of ligature (and other 'gsub') differences. |
| 73 |
.TP |
| 74 |
.B \-\-ignorenames |
| 75 |
Suppress the reporting of name string differences. |
| 76 |
.TP |
| 77 |
.B \-\-ignorebitmaps |
| 78 |
Suppress the reporting of bitmap differences. |
| 79 |
.TP |
| 80 |
.B \-\-exact |
| 81 |
Require outlines to match exactly. |
| 82 |
.TP |
| 83 |
.B \-\-warn |
| 84 |
Warn if the outlines/references are slightly different. |
| 85 |
.TP |
| 86 |
\fB\-\-merge\fP \fIoutfile\fP |
| 87 |
Store a merged version of the two fonts into the specified |
| 88 |
output file. The merged data will be based on \fIsfdfile1\fP, |
| 89 |
any characters present in \fIsfdfile2\fP but not in |
| 90 |
\fIsfdfile1\fP will be added, and the outlines of \fIsfdfile2\fP |
| 91 |
will be placed in the background. Finally, for any characters |
| 92 |
with different outlines or references the background of the |
| 93 |
character will contain the outlines from \fIsfdfile2\fP |
| 94 |
(references will be unlinked into outlines and those outlines |
| 95 |
also will be added). |
| 96 |
.TP |
| 97 |
.B \-\-usage |
| 98 |
Display the usage description. |
| 99 |
.TP |
| 100 |
.B \-\-version |
| 101 |
Display the current version. |
| 102 |
.SH SEE ALSO |
| 103 |
\fBfontforge\fP(1) |
| 104 |
.PP |
| 105 |
The HTML version of the \fBFontForge\fP manual, available online at: |
| 106 |
http://fontforge.sourceforge.net/. |
| 107 |
.SH NOTE |
| 108 |
\fBFontForge\fP used to be called \fBPfaEdit\fP. |
| 109 |
.SH AUTHORS |
| 110 |
.B FontForge |
| 111 |
is Copyright \(co 2000\(en2014 by George Williams, and is currently |
| 112 |
maintained by the FontForge development team. See |
| 113 |
/usr/share/doc/fontforge/AUTHORS for a comprehensive list of |
| 114 |
contributors. |
| 115 |
.SH LICENSE |
| 116 |
The \fBsfddiff\fP program is licensed under GPLv3+: |
| 117 |
GNU GPL version\ 3 or later |
| 118 |
(http://gnu.org/licenses/gpl.html) with many parts covered by |
| 119 |
a BSD license |
| 120 |
(http://fontforge.org/license.html). Please read the LICENSE file |
| 121 |
included in the FontForge distribution for details, or see |
| 122 |
https://github.com/fontforge/fontforge/blob/master/LICENSE. |
| 123 |
.PP |
| 124 |
FontForge is available as a whole under the terms of the |
| 125 |
GNU GPL (http://www.gnu.org/copyleft/gpl.html), version\ 3 |
| 126 |
or any later version. |
| 127 |
However, almost all of its parts are available under the |
| 128 |
"revised BSD license" |
| 129 |
(http://www.law.yi.org/~sfllaw/talks/bsd.pdf) |
| 130 |
because FontForge was mostly written by George Williams, |
| 131 |
using that license. |
| 132 |
.PP |
| 133 |
The Revised BSD License is very permissive, and allows for code |
| 134 |
to be combined with other code under other licenses. |
| 135 |
.PP |
| 136 |
There are many useful libraries available under copyleft libre |
| 137 |
licenses, such as the LGPL and GPL, which FontForge started |
| 138 |
to use in 2012. |
| 139 |
.PP |
| 140 |
For example, Pango and Cairo are available under the LGPL. |
| 141 |
.PP |
| 142 |
Some features added since 2012 are licensed by their individual |
| 143 |
developers under the GPLv3. |
| 144 |
.SH BUGS |
| 145 |
See the FontForge Github Issue Tracker, at |
| 146 |
https://github.com/fontforge/fontforge/issues/. |