Fontconfig-2.2.3

Introduction to Fontconfig

The Fontconfig package is a library for configuring and customizing font access.

Package information

[Note]

Note

The numbering system of Fontconfig is unusual. The beta versions of the package are numbered with a 9x in the last portion of the release number. This means that 2.2.96 is a beta release and the most current release is of the form 2.2.3

Fontconfig dependencies

Installation of Fontconfig

Install Fontconfig by running the following commands:

./configure --prefix=/usr \
    --sysconfdir=/etc --disable-docs &&
make &&
make install

Command explanations

--disable-docs: This switch avoids building the documentation. If you wish to build the documentation using DocBook-utils, you may need to remove the OpenSP catalog definitions from the system SGML catalogs. Use the following command before building the package to accomplish this:

sed -i.orig \
    -e "/CATALOG \/etc\/sgml\/OpenSP-1.5.1.cat/d" \
    /etc/sgml/catalog \
    /etc/sgml/sgml-docbook.cat

Configuring Fontconfig

Config files

/etc/fonts/*

Configuration Information

The configuration file for Fontconfig is /etc/fonts/fonts.conf. Generally you do not want to edit this file. To put a new font directory in the configuration, update the /etc/fonts/local.conf file with your local information. The default location of fonts in Fontconfig is:

  • /usr/share/fonts

  • ~/.fonts

[Note]

Note

X also includes an internal (and older) version of Fontconfig and unless it is explicitly disabled when building XFree86, the internal version is created leaving two slightly incompatible libraries on your system. It is recommended that you only install one version.

Contents

The Fontconfig package contains the libfontconfig library, fc-cache, and fc-list.

Description

fc-cache

fc-cache is a command to create font information caches.

fc-list

fc-list is a command to list fonts.

Last updated on 2005-02-07 14:16:21 -0700