The Fontconfig package is a library for configuring and customizing font access.
Download (HTTP): http://fontconfig.org/release/fontconfig-2.3.2.tar.gz
Download (FTP): ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/fontconfig-2.3.2.tar.gz
Download MD5 sum: 7354f9f125ea78a8f2851cb9c31d4866
Download size: 942 KB
Estimated disk space required: 13.0 MB
Estimated build time: 0.2 SBU
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.3.92 is a beta release and the most current release is of the form 2.3.2
FreeType-2.1.10 and expat-2.0.0
If you have DocBook-utils
installed and you remove the --disable-docs parameter from the
configure command
below, you must have SGMLSpm-1.03ii and JadeTeX-3.13
installed also, or the Fontconfig build will fail.
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/Fontconfig
Install Fontconfig by running the following commands:
./configure --prefix=/usr --sysconfdir=/etc \
--disable-docs --without-add-fonts \
--with-docdir=/usr/share/doc/fontconfig-2.3.2 &&
make
To test the results, issue: make check.
Now, as the root user:
make install &&
install -v -m644 doc/*.3 /usr/share/man/man3 &&
install -v -m644 doc/*.5 /usr/share/man/man5 &&
install -v -m755 \
-d /usr/share/doc/fontconfig-2.3.2/fontconfig-devel &&
install -v -m644 doc/*.{html,pdf,txt} \
/usr/share/doc/fontconfig-2.3.2 &&
install -v -m644 doc/fontconfig-devel/* \
/usr/share/doc/fontconfig-2.3.2/fontconfig-devel
--disable-docs: This switch
avoids building the documentation (the release tarball includes
pre-generated documentation).
--without-add-fonts: This
switch disables the automatic search for X Window System fonts
which, if found, may confuse some applications.
--with-docdir=/usr/share/doc/fontconfig-2.3.2:
Though this parameter seems counter-intuitive following the
preceding parameter to the configure command, it is used so
that if the builder removes the --disable-docs parameter, the
documentation will be installed in a versioned directory name
instead of the default /usr/share/doc/fontconfig.
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, create (or update) the /etc/fonts/local.conf file with your local
information. The default location of fonts in Fontconfig is:
/usr/share/fonts
~/.fonts
More information about configuring Fontconfig can be found in the user's manual
at http://fontconfig.org/fontconfig-user.html.
There are additional configuration files shipped with
Fontconfig in /etc/fonts/conf.d that will be enabled if their
names begin with 2 numbers, e.g., /etc/fonts/conf.d/10-autohint.conf.
X also includes an internal (and older) version of Fontconfig and unless it is explicitly disabled when building Xorg or XFree86, the internal version is created leaving two slightly incompatible libraries on your system. It is recommended that you only install one version.
Last updated on 2007-04-04 21:42:53 +0200