SFDDIFF(1)
π SFDDIFF π
okay bestie, so this is sfddiff from the General Commands Manual section β it's a whole little program that looks at two font files and tells you every single way they're different. it's giving detective energy fr fr πβ¨
β¨ NAME β¨
sfddiff β compare two font files π«Ά
πΈ SYNOPSIS πΈ
sfddiff [--help] [--ignorehints] [--ignorenames] [--ignoregpos]
[--ignoregsub] [--ignorebitmaps] [--exact] [--warn] [--merge outfile]
[--usage] [--version] fontfile1 fontfile2
π DESCRIPTION π
so sfddiff compares two font files β and lowkey it doesn't even care what format they're in, as long as fontforge(1) can read them. iconic. it will clock the following differences:
- characters are in one font but not in the other π
- characters are in both fonts but they have different sets of outlines or references. and ok so the outlines can be compared so that only exact matches count, or so a fuzzier match is used. same deal with references β they might need to match exactly, or they might get matched after an unlink. this fuzzy comparison is super useful when you're comparing truetype and postscript fonts, or when you're comparing a font with references to one without. iykyk β¨
- the PostScript hints or TrueType instructions are different
- the font names (the TrueType
'name'tables) differ - the kerning (and other
'gpos'information) differs - the ligatures (and other
'gsub'information) differs - any bitmap strikes present in one font but not in the other
- any bitmap characters present in one strike of one font but not in the equivalent strike of the other
- any bitmap characters which differ
like?? it catches everything. main character behavior honestly π
π OPTIONS π
--helpβ drops a description plus the whole list of available options. slay.--ignorehintsβ shhh, suppress the reporting of hint/instruction differences π€«--ignoregposβ suppress the reporting of kerning (and other'gpos') differences--ignoregsubβ suppress the reporting of ligature (and other'gsub') differences--ignorenamesβ suppress the reporting of name string differences--ignorebitmapsβ suppress the reporting of bitmap differences--exactβ require outlines to match exactly, no wiggle room, periodt π--warnβ warn you if the outlines/references are only slightly different. a lil heads up, bestie π«Ά--merge outfileβ store a merged version of the two fonts into the specified output file. the merged data will be based onsfdfile1, any characters present insfdfile2but not insfdfile1will be added, and the outlines ofsfdfile2will be placed in the background. finally, for any characters with different outlines or references the background of the character will contain the outlines fromsfdfile2(references will be unlinked into outlines and those outlines also will be added). it's a whole collab π--usageβ display the usage description--versionβ display the current version β
π¦ SEE ALSO π¦
the HTML version of the FontForge manual, available online at: http://fontforge.sourceforge.net/.
π NOTE π
FontForge used to be called PfaEdit. glow-up era fr fr π
π AUTHORS π
FontForge is Copyright Β© 2000β2014 by George Williams, and is currently maintained by the FontForge development team. See /usr/share/doc/fontforge/AUTHORS for a comprehensive list of contributors. we love a whole team effort π«Άβ¨
πΈ LICENSE πΈ
The sfddiff program is licensed under GPLv3+: GNU GPL version 3 or later (http://gnu.org/licenses/gpl.html) with many parts covered by a BSD license (http://fontforge.org/license.html). Please read the LICENSE file included in the FontForge distribution for details, or see https://github.com/fontforge/fontforge/blob/master/LICENSE.
FontForge is available as a whole under the terms of the GNU GPL (http://www.gnu.org/copyleft/gpl.html), version 3 or any later version. However, almost all of its parts are available under the "revised BSD license" (http://www.law.yi.org/~sfllaw/talks/bsd.pdf) because FontForge was mostly written by George Williams, using that license.
The Revised BSD License is very permissive, and allows for code to be combined with other code under other licenses. very generous of it π
There are many useful libraries available under copyleft libre licenses, such as the LGPL and GPL, which FontForge started to use in 2012.
For example, Pango and Cairo are available under the LGPL.
Some features added since 2012 are licensed by their individual developers under the GPLv3.
π BUGS π
See the FontForge Github Issue Tracker, at https://github.com/fontforge/fontforge/issues/. (if you found something cursed, tell them, they'll handle it π«Ά)
and that's the whole page bestie!! this one's from the 2017 Jun 18 release of the General Commands Manual β sfddiff(1), source and date and all. go compare some fonts, you absolute icon π β¨π
π¦ where this page comes from
- alpine 3.24: fontforge-doc 20251009-r1 Β· GPL-3.0-or-later
- arch rolling: fontforge 20251009-5 Β· GPL-3.0-or-later
- centos-stream 10: fontforge 20230101-15.el10 Β· GPL-3.0-or-later
- centos-stream 9: fontforge 20201107-8.el9 Β· GPLv3+
- centos-stream 9: fontforge 20201107-8.el9 Β· GPLv3+
- debian bookworm: fontforge-common 1:20230101~dfsg-1.1~deb12u1 Β· BSD-3-Clause
- debian trixie: fontforge-common 1:20230101~dfsg-4 Β· BSD-3-Clause
- fedora 43: fontforge 20230101-18.fc43 Β· GPL-3.0-or-later
- fedora 43: fontforge 20230101-18.fc43 Β· GPL-3.0-or-later
- fedora 43: fontforge 20230101-20.fc43 Β· GPL-3.0-or-later
- fedora 43: fontforge 20230101-20.fc43 Β· GPL-3.0-or-later
- fedora 44: fontforge 20251009-2.fc44 Β· GPL-3.0-or-later
- fedora 44: fontforge 20251009-2.fc44 Β· GPL-3.0-or-later
- nixos 26.05: fontforge 20251009
- nixpkgs unstable: fontforge 20251009
- opensuse-leap 16.0: fontforge 20251009-160000.3.1 Β· GPL-3.0-or-later
- opensuse-leap 16.0: fontforge 20251009-160000.3.1 Β· GPL-3.0-or-later
- opensuse-leap 16.0: fontforge 20251009-160000.3.1 Β· GPL-3.0-or-later
- opensuse-leap 16.0: fontforge 20251009-160000.3.1 Β· GPL-3.0-or-later
- ubuntu jammy: fontforge-common 1:20201107~dfsg-4+deb11u1build0.22.04.1 Β· BSD-3-Clause
- ubuntu jammy: fontforge-common 1:20201107~dfsg-4build1 Β· BSD-3-Clause
- ubuntu noble: fontforge-common 1:20230101~dfsg-1.1build1 Β· BSD-3-Clause
- ubuntu questing: fontforge-common 1:20230101~dfsg-8
- ubuntu resolute: fontforge-common 1:20230101~dfsg-8build1 Β· BSD-3-Clause
- ubuntu stonking: fontforge-common 1:20251009+git20260808~dfsg-2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms