cvs commit: BLFS/BOOK/introduction/welcome changelog.xml

igor at linuxfromscratch.org igor at linuxfromscratch.org
Sat Feb 7 18:47:04 PST 2004


igor        04/02/07 19:47:04

  Modified:    BOOK/general/graphlib/fontconfig fontconfig-config.xml
               BOOK/introduction/welcome changelog.xml
  Log:
  fontconfig: replaced font directiories listing with a sed command
  
  Revision  Changes    Path
  1.2       +10 -6     BLFS/BOOK/general/graphlib/fontconfig/fontconfig-config.xml
  
  Index: fontconfig-config.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/general/graphlib/fontconfig/fontconfig-config.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- fontconfig-config.xml	1 Feb 2004 08:07:06 -0000	1.1
  +++ fontconfig-config.xml	8 Feb 2004 02:47:04 -0000	1.2
  @@ -1,11 +1,15 @@
   <sect2>
   <title>Configuring <application>Fontconfig</application></title>
   
  +<sect3><title>Config files</title>
  +<para><filename>/etc/fonts/*</filename></para>
  +</sect3>
  +
   <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
  +in the configuration, update the <filename>/etc/fonts/local.conf</filename> file with your local
   information.  The default location of fonts in
   <application>Fontconfig</application> is:</para>
   <itemizedlist spacing='compact'>
  @@ -16,11 +20,11 @@
   <para>Because we have not built <application>XFree86</application> yet, put the following directory entries
   into <filename>/etc/fonts/local.conf</filename>, inside the fontconfig
   tags:</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>
  +
  +<screen><userinput><command>sed -i -e '/^<\/fontconfig>/i\
  +<dir>/usr/X11R6/lib/X11/fonts/TTF</dir>\
  +<dir>/usr/X11R6/lib/X11/fonts/Type1</dir>\
  +<dir>/usr/X11R6/lib/X11/fonts/truetype</dir>' local.conf</command></userinput></screen>
   
   <para>The <application>Fontconfig</application> program will automatically search the above directories
   and all subdirectories for needed fonts.</para>
  
  
  
  1.943     +4 -0      BLFS/BOOK/introduction/welcome/changelog.xml
  
  Index: changelog.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/introduction/welcome/changelog.xml,v
  retrieving revision 1.942
  retrieving revision 1.943
  diff -u -r1.942 -r1.943
  --- changelog.xml	8 Feb 2004 00:50:22 -0000	1.942
  +++ changelog.xml	8 Feb 2004 02:47:04 -0000	1.943
  @@ -11,6 +11,10 @@
   
   <itemizedlist>
   
  +<listitem><para>February 7th, 2004 [igor]: Added sed command for
  +configuring fontconfig's font directories, contributed by
  +Ken Moffat.</para></listitem>
  +
   <listitem><para>February 7th, 2004 [igor]: Changed all occurrences of
   "source" in init scripts to ".", suggested by Nathan
   Coulson.</para></listitem>
  
  
  



More information about the blfs-book mailing list