Changeset 5950b981 for general


Ignore:
Timestamp:
02/08/2004 02:47:04 AM (20 years ago)
Author:
Igor Živković <igor@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
2f3e25a1
Parents:
e902a84
Message:

fontconfig: replaced font directiories listing with a sed command

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1780 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/graphlib/fontconfig/fontconfig-config.xml

    re902a84 r5950b981  
    11<sect2>
    22<title>Configuring <application>Fontconfig</application></title>
     3
     4<sect3><title>Config files</title>
     5<para><filename>/etc/fonts/*</filename></para>
     6</sect3>
    37
    48<sect3><title>Configuration Information</title>
     
    610<para>The configuration file for <application>Fontconfig</application> is <filename>/etc/fonts/fonts.conf</filename>.
    711Generally you do not want to edit this file.  To put a new font directory
    8 in the configuration, update the file, <filename>/etc/fonts/local.conf</filename> with your local
     12in the configuration, update the <filename>/etc/fonts/local.conf</filename> file with your local
    913information.  The default location of fonts in
    1014<application>Fontconfig</application> is:</para>
     
    1721into <filename>/etc/fonts/local.conf</filename>, inside the fontconfig
    1822tags:</para>
    19 <itemizedlist spacing='compact'>
    20 <listitem><para>&lt;dir&gt;/usr/X11R6/lib/X11/fonts/TTF&lt;/dir&gt;</para></listitem>
    21 <listitem><para>&lt;dir&gt;/usr/X11R6/lib/X11/fonts/Type1&lt;/dir&gt;</para></listitem>
    22 <listitem><para>&lt;dir&gt;/usr/X11R6/lib/X11/fonts/truetype&lt;/dir&gt;</para></listitem>
    23 </itemizedlist>
     23
     24<screen><userinput><command>sed -i -e '/^<\/fontconfig>/i\
     25&lt;dir&gt;/usr/X11R6/lib/X11/fonts/TTF&lt;/dir&gt;\
     26&lt;dir&gt;/usr/X11R6/lib/X11/fonts/Type1&lt;/dir&gt;\
     27&lt;dir&gt;/usr/X11R6/lib/X11/fonts/truetype&lt;/dir&gt;' local.conf</command></userinput></screen>
    2428
    2529<para>The <application>Fontconfig</application> program will automatically search the above directories
Note: See TracChangeset for help on using the changeset viewer.