The FontForge package contains an outline font editor that lets you create your own postscript, truetype, opentype, cid-keyed, multi-master, cff, svg and bitmap (bdf, FON, NFNT) fonts, or edit existing ones.
![[Note]](../images/note.png)
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
Download (HTTP): https://github.com/fontforge/fontforge/releases/download/20230101/fontforge-20230101.tar.xz
Download MD5 sum: 7043f25368ed25bcd75d168564919fb7
Download size: 13 MB
Estimated disk space required: 102 MB (add 52 MB for the tests)
Estimated build time: 0.4 SBU (with parallelism=4, add 0.1 SBU for the tests)
libspiro-20220722 and libxml2-2.12.1
giflib-5.2.1, git-2.43.0, libjpeg-turbo-3.0.1, libtiff-4.6.0, sphinx-7.2.6 (to build html documentation), WOFF2-1.0.2, and
First fix a problem with old translations exposed by gettext-0.22:
sed -i.orig 's/\(%[^%[:space:]]*\)hs/\1s/g' \ fontforgeexe/searchview.c po/de.po po/ca.po \ po/hr.po po/it.po po/pl.po po/uk.po po/en_GB.po \ po/fr.po po/vi.po po/ko.po po/ja.po
Install FontForge by running the following commands:
mkdir build &&
cd build &&
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-Wno-dev .. &&
makeTo test the results, issue: make check.
Now, as the root user:
make install
If you have installed sphinx-build, HTML documentation
was built and installed in
/usr/share/doc/fontforge.
To be able to access it as a versioned directory, create a
symlink as the
root user:
ln -sv fontforge /usr/share/doc/fontforge-20230101
-DCMAKE_BUILD_TYPE=Release: This switch is used to
create an optimized release without debug information.
-Wno-dev: This switch is used to suppress warnings
intended for the package's developers.
-DENABLE_X11=ON: use an X11 backend instead of GDK3
(gtk+-3) for basic Xorg graphics.