FontForge-20170731

#### Beyond Linux® From Scratch - Version 2019-02-27

### Chapter 41. Other X-based Programs

- Prev

  feh-3.1.2

- Next

  Gimp-2.10.8

- Up
- Home

# FontForge-20170731

## 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-8.4 platform.

### Package Information

- Download (HTTP): https://github.com/fontforge/fontforge/releases/download/20170731/fontforge-dist-20170731.tar.xz

- Download MD5 sum: 8a717035915ab4cd78b89b0942dfa1fc

- Download size: 14 MB

- Estimated disk space required: 247 MB (with tests)

- Estimated build time: 2.2 SBU (with tests)

### FontForge Dependencies

#### Required

FreeType-2.9.1, GLib-2.58.3, and libxml2-2.9.9

#### Recommended

Cairo-1.16.0, GTK+-2.24.32, HarfBuzz-2.3.1, Pango-1.42.4 (required if Xorg libraries are present) desktop-file-utils-0.23, shared-mime-info-1.10, and Xorg Libraries

#### Optional

giflib-5.1.6, libjpeg-turbo-2.0.2, libpng-1.6.36, LibTIFF-4.0.10, Python-2.7.15, Wget-1.20.1 (needed for tests), IPython, libspiro, libunicodenames, libuninameslist, and zeromq (libzmq)

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

## Installation of FontForge

Install FontForge by running the following commands:

    ./configure --prefix=/usr     \
                --enable-gtk2-use \
                --disable-static  \
                --docdir=/usr/share/doc/fontforge-20170731 &&
    make

To test the results, issue: make check. This will download one font file.

Now, as the `root` user:

    make install

## Command Explanations

`--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-20170731

### 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 2019-02-19 15:58:07 -0600

- Prev

  feh-3.1.2

- Next

  Gimp-2.10.8

- Up
- Home