FontForge-20160404

Introduction to FontForge

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.

This package is known to build and work properly using an LFS-7.10 platform.

Package Information

FontForge Dependencies

Required

FreeType-2.6.5, GLib-2.48.2, and libxml2-2.9.4

Recommended

Optional

giflib-5.1.4, libjpeg-turbo-1.5.0, libpng-1.6.24, LibTIFF-4.0.6, Python-2.7.12, Wget-1.18 (needed for tests), IPython, libspiro, libunicodenames, libuninameslist, and zeromq (libzmq)

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/fontforge

Installation of FontForge

[Note]

Note

For this version there is a separate and much larger fontforge tarball without the -dist- in its name, do not try to use that. The -dist- version was created a few minutes later, but the version was typo'd and it will untar to fontforge-2.0-20140101.

Install FontForge by running the following commands:

sed -i 's/20140101/20160404/g' configure inc/fontforge-config.h \
                               tests/package.m4 tests/testsuite
./configure --prefix=/usr     \
            --enable-gtk2-use \
            --disable-static  \
            --docdir=/usr/share/doc/fontforge-20160404 &&
make

To test the results, issue: make check. This will download two ttf files.

Now, as the root user:

make install

Command Explanations

sed -i 's/20140101/20160404/g' ... : This changes the typo'd date, particularly in the pkgconfig files and the log from the tests.

--enable-gtk2-use: uses the GTK+2 graphics instead of basic Xorg graphics.

--disable-static: This switch prevents installation of static versions of the libraries.

--enable-debug: Turn on debug build and FONTFORGE_DEBUG conditional code. Requires libspiro.

Contents

Installed Programs: fontforge, fontimage, fontlint and sfddiff
Installed Libraries: libfontforgeexe.so, libfontforge.so, libgdraw.so, libgioftp.so, libgunicode.so, libgutils.so, and /usr/lib/python2.7/site-packages/{fontforge,psMat}.so
Installed Directories: /usr/{include,share}/fontforge and /usr/share/doc/fontforge-20160404

Short Descriptions

fontforge

is a program that allows you to create and modify font files.

fontimage

is a program that produces an image showing representative glyphs of the font.

fontlint

is a program that checks the font for certain common errors.

sfddiff

is a program that compares two font files.

Last updated on 2016-08-29 20:28:42 -0700