source: general/graphlib/fontconfig/fontconfig-config.xml@ 2f3e25a1

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
Last change on this file since 2f3e25a1 was 2f3e25a1, checked in by Igor Živković <igor@…>, 20 years ago

entity fix in fontconfig

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

  • Property mode set to 100644
File size: 1.7 KB
Line 
1<sect2>
2<title>Configuring <application>Fontconfig</application></title>
3
4<sect3><title>Config files</title>
5<para><filename>/etc/fonts/*</filename></para>
6</sect3>
7
8<sect3><title>Configuration Information</title>
9
10<para>The configuration file for <application>Fontconfig</application> is <filename>/etc/fonts/fonts.conf</filename>.
11Generally you do not want to edit this file. To put a new font directory
12in the configuration, update the <filename>/etc/fonts/local.conf</filename> file with your local
13information. The default location of fonts in
14<application>Fontconfig</application> is:</para>
15<itemizedlist spacing='compact'>
16<listitem><para>/usr/share/fonts</para></listitem>
17<listitem><para>~/.fonts</para></listitem>
18</itemizedlist>
19
20<para>Because we have not built <application>XFree86</application> yet, put the following directory entries
21into <filename>/etc/fonts/local.conf</filename>, inside the fontconfig
22tags:</para>
23
24<screen><userinput><command>sed -i -e '/^&lt;\/fontconfig&gt;/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>
28
29<para>The <application>Fontconfig</application> program will automatically search the above directories
30and all subdirectories for needed fonts.</para>
31
32<note><para><application>X</application> also includes an internal (and
33older) version of <application>Fontconfig</application>
34and unless it is explicitly disabled when building
35<application>XFree86</application>, the internal
36version is created leaving two slightly incompatible libraries on your system.
37It is recommended that you only install one version.</para></note>
38
39</sect3>
40
41</sect2>
Note: See TracBrowser for help on using the repository browser.