glfs/x/lib/fontconfig/fontconfig-config.xml
Bruce Dubbs ada9ee0f8f Updated fontconfig configuration instructions
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@977 af4574ff-66df-0310-9fd7-8a98e5e911e0
2003-08-17 03:06:32 +00:00

38 lines
1.4 KiB
XML

<sect2>
<title>Configuring fontconfig</title>
<sect3><title>Configuration Information</title>
<para>The configuration file for fontconfig is <filename>/etc/fonts/fonts.conf</filename>.
Generally you do not want to edit this file. To put a new font directory
in the configuration, update the file, <filename>/etc/fonts/local.conf</filename> with your local
information. The default location of fonts in fontconfig is:</para>
<itemizedlist spacing='compact'>
<listitem><para>/usr/share/fonts</para></listitem>
<listitem><para>~/.fonts</para></listitem>
</itemizedlist>
<para>Because we have not built XFree86 yet, put the following directory entries
into <filename>/etc/fonts/local.conf</filename>:</para>
<itemizedlist spacing='compact'>
<listitem><para>&lt;dir&gt;/usr/X11R6/lib/X11/fonts/TTF&lt;/dir&gt;</para></listitem>
<listitem><para>&lt;dir&gt;/usr/X11R6/lib/X11/fonts/Type1&lt;/dir&gt;</para></listitem>
<listitem><para>&lt;dir&gt;/usr/X11R6/lib/X11/fonts/truetype&lt;/dir&gt;</para></listitem>
</itemizedlist>
<para>The fontconfig program will automatically search the above directories
and all subdirectories for needed fonts.</para>
<note><para>X also includes an internal (and older) version of fontconfig
and unless it is explictly 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.</para></note>
</sect3>
</sect2>