mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-04 07:17:15 +08:00
Updated fontconfig configuration instructions
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@977 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
fadd206a7a
commit
ada9ee0f8f
@ -10,6 +10,9 @@ page in Chapter 1 for details on who wrote what.</para>
|
||||
|
||||
<itemizedlist>
|
||||
|
||||
<listitem><para>August 16th, 2003 [bdubbs]: Updated fontconfig
|
||||
configuration instructions.</para></listitem>
|
||||
|
||||
<listitem><para>August 16th, 2003 [tushar]: Synchronized shadow instructions
|
||||
to match those in LFS-CVS.</para></listitem>
|
||||
|
||||
|
@ -3,18 +3,25 @@
|
||||
|
||||
<sect3><title>Configuration Information</title>
|
||||
|
||||
<para>The configuration file for fontconfig is <filename>fonts.conf</filename>.
|
||||
<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, create a new file, local.conf with your local
|
||||
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>/usr/X11R6/lib/X11/fonts/TTF</para></listitem>
|
||||
<listitem><para>/usr/X11R6/lib/X11/fonts/Type1</para></listitem>
|
||||
<listitem><para>/usr/X11R6/lib/X11/fonts/truetype</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><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 fontconfig program will automatically search the above directories
|
||||
and all subdirectories for needed fonts.</para>
|
||||
|
||||
|
@ -3,25 +3,32 @@
|
||||
|
||||
<sect3><title>Configuration Information</title>
|
||||
|
||||
<para>The configuration file for fontconfig is <filename>fonts.conf</filename>.
|
||||
<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, create a new file, local.conf with your local
|
||||
in the configuration, create a new 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>/usr/X11R6/lib/X11/fonts/TTF</para></listitem>
|
||||
<listitem><para>/usr/X11R6/lib/X11/fonts/Type1</para></listitem>
|
||||
<listitem><para>/usr/X11R6/lib/X11/fonts/truetype</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><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 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 X, X builds the internal
|
||||
version thereby leaving two slightly incompatible libraries on your system.
|
||||
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>
|
||||
|
Loading…
Reference in New Issue
Block a user