%general-entities; ]> $LastChangedBy$ $Date$ fontconfig-&fontconfig-version;.tar fontconfig Fontconfig-&fontconfig-version; Fontconfig Introduction to Fontconfig The Fontconfig package is a library for configuring and customizing font access. Package Information Download (HTTP): Download (FTP): Download MD5 sum: &fontconfig-md5sum; Download size: &fontconfig-size; Estimated disk space required: &fontconfig-buildsize; Estimated build time: &fontconfig-time; 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 &fontconfig-version; Fontconfig Dependencies Required and Optional If you have DocBook-utils installed and you remove the --disable-docs parameter from the configure command below, you must have and installed also, or the Fontconfig build will fail. Installation of Fontconfig Install Fontconfig by running the following commands: ./configure --prefix=/usr --sysconfdir=/etc \ --disable-docs --without-add-fonts \ --with-docdir=/usr/share/doc/fontconfig-&fontconfig-version; && 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-&fontconfig-version;/fontconfig-devel && install -v -m644 doc/*.{html,pdf,txt} \ /usr/share/doc/fontconfig-&fontconfig-version; && install -v -m644 doc/fontconfig-devel/* \ /usr/share/doc/fontconfig-&fontconfig-version;/fontconfig-devel Command Explanations --disable-docs: This switch avoids building the documentation (the release tarball includes pre-generated documentation). --without-add-fonts: Without this switch, the default font search path would include any X font paths found outside of /usr/share/fonts. This would include bitmapped fonts, which Fontconfig cannot handle appropriately. --with-docdir=/usr/share/doc/fontconfig-&fontconfig-version;: 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. Configuring Fontconfig Config Files /etc/fonts/* and /etc/fonts/conf.d/* /etc/fonts/* /etc/fonts/conf.d/* 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, 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 /usr/share/fonts ~/.fonts 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. Contents Installed Programs Installed Library Installed Directories fc-cache, fc-list, and fc-match libfontconfig.[so,a] /etc/fonts, /usr/include/fontconfig and /usr/share/doc/fontconfig-&fontconfig-version; Short Descriptions fc-cache is used to create font information caches. fc-cache fc-list is used to create font lists. fc-list fc-match is used to match available fonts, or find fonts that match a given pattern. fc-match libfontconfig.[so,a] contains functions used by the Fontconfig programs and also by other programs to configure or customize font access. libfontconfig.[so,a]