mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-04 15:37:16 +08:00
b9ad2f9af7
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1272 af4574ff-66df-0310-9fd7-8a98e5e911e0
41 lines
1.6 KiB
XML
41 lines
1.6 KiB
XML
<sect2>
|
|
<title>Configuring <application>Fontconfig</application></title>
|
|
|
|
<sect3><title>Configuration Information</title>
|
|
|
|
<para>The configuration file for <application>Fontconfig</application> 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
|
|
<application>Fontconfig</application> is:</para>
|
|
<itemizedlist spacing='compact'>
|
|
<listitem><para>/usr/share/fonts</para></listitem>
|
|
<listitem><para>~/.fonts</para></listitem>
|
|
</itemizedlist>
|
|
|
|
<para>Because we have not built <application>XFree86</application> yet, put the following directory entries
|
|
into <filename>/etc/fonts/local.conf</filename>:</para>
|
|
<itemizedlist spacing='compact'>
|
|
<listitem><para><dir>/usr/X11R6/lib/X11/fonts/TTF</dir></para></listitem>
|
|
<listitem><para><dir>/usr/X11R6/lib/X11/fonts/Type1</dir></para></listitem>
|
|
<listitem><para><dir>/usr/X11R6/lib/X11/fonts/truetype</dir></para></listitem>
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<para>The <application>Fontconfig</application> program will automatically search the above directories
|
|
and all subdirectories for needed fonts.</para>
|
|
|
|
|
|
<note><para><application>X</application> also includes an internal (and
|
|
older) version of <application>Fontconfig</application>
|
|
and unless it is explictly disabled when building
|
|
<application>XFree86</application>, 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>
|
|
|