source: general/graphlib/fontconfig.xml@ 656725d

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 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 gimp3 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 xry111/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 656725d was c138ad9, checked in by Randy McMurchy <randy@…>, 19 years ago

Fixed typos in various Chapter 9 package instructions

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

  • Property mode set to 100644
File size: 8.3 KB
RevLine 
[52d29f7]1<?xml version="1.0" encoding="ISO-8859-1"?>
[ff769b8c]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
[52d29f7]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[51a70dfd]7 <!ENTITY fontconfig-download-http "http://fontconfig.org/release/fontconfig-&fontconfig-version;.tar.gz">
8 <!-- <!ENTITY fontconfig-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/fontconfig-&fontconfig-version;.tar.gz"> -->
9 <!ENTITY fontconfig-download-ftp " ">
[1dcdfb25]10 <!ENTITY fontconfig-md5sum "7354f9f125ea78a8f2851cb9c31d4866">
11 <!ENTITY fontconfig-size "942 KB">
[51a70dfd]12 <!ENTITY fontconfig-buildsize "10.5 MB">
[1dcdfb25]13 <!ENTITY fontconfig-time "0.2 SBU">
[52d29f7]14]>
15
[b9ad2f9a]16<sect1 id="fontconfig" xreflabel="Fontconfig-&fontconfig-version;">
[51a70dfd]17 <?dbhtml filename="fontconfig.html"?>
[481b3e8]18
[51a70dfd]19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
[481b3e8]23
[51a70dfd]24 <title>Fontconfig-&fontconfig-version;</title>
[481b3e8]25
[51a70dfd]26 <indexterm zone="fontconfig">
27 <primary sortas="a-Fontconfig">Fontconfig</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to Fontconfig</title>
[481b3e8]32
[51a70dfd]33 <para>The <application>Fontconfig</application> package is a library
34 for configuring and customizing font access.</para>
[481b3e8]35
[51a70dfd]36 <bridgehead renderas="sect3">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>Download (HTTP): <ulink url="&fontconfig-download-http;"/></para>
40 </listitem>
41 <listitem>
42 <para>Download (FTP): <ulink url="&fontconfig-download-ftp;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download MD5 sum: &fontconfig-md5sum;</para>
46 </listitem>
47 <listitem>
48 <para>Download size: &fontconfig-size;</para>
49 </listitem>
50 <listitem>
51 <para>Estimated disk space required: &fontconfig-buildsize;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated build time: &fontconfig-time;</para>
55 </listitem>
56 </itemizedlist>
57
58 <note>
[481b3e8]59 <para>The numbering system of <application>Fontconfig</application> is
60 unusual. The beta versions of the package are numbered with a 9x in the last
61 portion of the release number. This means that 2.3.90 is a beta release and
[c138ad9]62 the most current release is of the form &fontconfig-version;</para>
[51a70dfd]63 </note>
[481b3e8]64
[51a70dfd]65 <bridgehead renderas="sect3">Fontconfig Dependencies</bridgehead>
[481b3e8]66
[51a70dfd]67 <bridgehead renderas="sect4">Required</bridgehead>
68 <para><xref linkend="freetype2"/> and <xref linkend="expat"/></para>
[481b3e8]69
[51a70dfd]70 <bridgehead renderas="sect4">Optional</bridgehead>
71 <para><xref linkend="docbook-utils"/></para>
72
73 <note>
[481b3e8]74 <para>If you have <application>DocBook-utils</application> installed,
[ba4b31cf]75 you must also have <xref linkend="perl-sgmlspm"/> installed also, or the
76 <application>Fontconfig</application> build will fail.</para>
[51a70dfd]77 </note>
[481b3e8]78
[51a70dfd]79 </sect2>
[481b3e8]80
[51a70dfd]81 <sect2 role="installation">
82 <title>Installation of Fontconfig</title>
83
[481b3e8]84 <para>Install <application>Fontconfig</application> by running the following
[51a70dfd]85 commands:</para>
86
87<screen><userinput>./configure --prefix=/usr \
[f9d2ee6]88 --sysconfdir=/etc --disable-docs &amp;&amp;
[51a70dfd]89make</userinput></screen>
[481b3e8]90
[51a70dfd]91 <para>To test the results, issue: <command>make check</command>.</para>
[481b3e8]92
[51a70dfd]93 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
[481b3e8]94
[323d61c]95<screen role="root"><userinput>make install &amp;&amp;
96make -C doc install &amp;&amp;
[a88d3670]97install -v -m 644 doc/*.3 /usr/share/man/man3/</userinput></screen>
[4774a15e]98
[51a70dfd]99 </sect2>
[481b3e8]100
[51a70dfd]101 <sect2 role="commands">
102 <title>Command Explanations</title>
103
[481b3e8]104 <para><parameter>--disable-docs</parameter>: This switch avoids building the
[c138ad9]105 documentation (the release tarball includes pre-generated documentation).
[49f07aad]106 If you wish to build the documentation using
[481b3e8]107 <application>DocBook-utils</application>, you may need to remove the
108 <application>OpenSP</application> catalog definitions from the system
109 SGML catalogs. Use the following command before building
[51a70dfd]110 the package to accomplish this:</para>
111
112<screen role="root"><userinput>sed -i.orig \
[cacf29f]113 -e "\%CATALOG /etc/sgml/OpenSP-1.5.1.cat%d" \
[04af8b24]114 /etc/sgml/catalog \
[51a70dfd]115 /etc/sgml/sgml-docbook.cat</userinput></screen>
[481b3e8]116
[51a70dfd]117 </sect2>
[481b3e8]118
[51a70dfd]119 <sect2 role="configuration">
120 <title>Configuring Fontconfig</title>
121
122 <sect3 id="fontconfig-config">
123 <title>Config Files</title>
[481b3e8]124
[51a70dfd]125 <para><filename>/etc/fonts/* and /etc/fonts/conf.d/*</filename></para>
[481b3e8]126
[51a70dfd]127 <indexterm zone="fontconfig fontconfig-config">
128 <primary sortas="e-etc-fonts">/etc/fonts/*</primary>
129 </indexterm>
[481b3e8]130
[51a70dfd]131 <indexterm zone="fontconfig fontconfig-config">
132 <primary sortas="e-etc-fonts-conf.d">/etc/fonts/conf.d/*</primary>
133 </indexterm>
[481b3e8]134
[51a70dfd]135 </sect3>
136
137 <sect3>
138 <title>Configuration Information</title>
[481b3e8]139
140 <para>The configuration file for <application>Fontconfig</application> is
141 <filename>/etc/fonts/fonts.conf</filename>. Generally you do not want to edit
142 this file. To put a new font directory in the configuration, create (or
143 update) the <filename>/etc/fonts/local.conf</filename> file with your local
144 information. The default location of fonts in
[51a70dfd]145 <application>Fontconfig</application> is:</para>
[481b3e8]146
[51a70dfd]147 <itemizedlist spacing='compact'>
148 <listitem>
149 <para>/usr/share/fonts</para>
150 </listitem>
151 <listitem>
152 <para>~/.fonts</para>
153 </listitem>
154 </itemizedlist>
[481b3e8]155
[51a70dfd]156 <indexterm zone="fontconfig fontconfig-config">
157 <primary sortas="g-usr-share-fonts">/usr/share/fonts</primary>
158 </indexterm>
[481b3e8]159
[51a70dfd]160 <indexterm zone="fontconfig fontconfig-config">
161 <primary sortas="g-AA.fonts">~/.fonts</primary>
162 </indexterm>
[481b3e8]163
[51a70dfd]164 <note>
165 <para><application>X</application> also includes an internal (and
[481b3e8]166 older) version of <application>Fontconfig</application> and unless it is
167 explicitly disabled when building <application>Xorg</application> or
168 <application>XFree86</application>, the internal version is created leaving
169 two slightly incompatible libraries on your system. It is recommended that
[51a70dfd]170 you only install one version.</para>
171 </note>
[481b3e8]172
[51a70dfd]173 </sect3>
[481b3e8]174
[51a70dfd]175 </sect2>
[481b3e8]176
[51a70dfd]177 <sect2 role="content">
178 <title>Contents</title>
179
180 <segmentedlist>
181 <segtitle>Installed Programs</segtitle>
182 <segtitle>Installed Library</segtitle>
183 <segtitle>Installed Directories</segtitle>
[481b3e8]184
[51a70dfd]185 <seglistitem>
186 <seg>fc-cache, fc-list, and fc-match</seg>
187 <seg>libfontconfig.[so,a]</seg>
188 <seg>/etc/fonts and /usr/include/fontconfig</seg>
189 </seglistitem>
190 </segmentedlist>
[481b3e8]191
[51a70dfd]192 <variablelist>
193 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
194 <?dbfo list-presentation="list"?>
195 <?dbhtml list-presentation="table"?>
[481b3e8]196
[51a70dfd]197 <varlistentry id="fc-cache">
198 <term><command>fc-cache</command></term>
199 <listitem>
200 <para>is used to create font information caches.</para>
201 <indexterm zone="fontconfig fc-cache">
202 <primary sortas="b-fc-cache">fc-cache</primary>
203 </indexterm>
204 </listitem>
205 </varlistentry>
[481b3e8]206
[51a70dfd]207 <varlistentry id="fc-list">
208 <term><command>fc-list</command></term>
209 <listitem>
210 <para>is used to create font lists.</para>
211 <indexterm zone="fontconfig fc-list">
212 <primary sortas="b-fc-list">fc-list</primary>
213 </indexterm>
214 </listitem>
215 </varlistentry>
[481b3e8]216
[51a70dfd]217 <varlistentry id="fc-match">
218 <term><command>fc-match</command></term>
219 <listitem>
[481b3e8]220 <para>is used to match available fonts, or find fonts that match
[51a70dfd]221 a given pattern.</para>
222 <indexterm zone="fontconfig fc-match">
223 <primary sortas="b-fc-match">fc-match</primary>
224 </indexterm>
225 </listitem>
226 </varlistentry>
[481b3e8]227
[51a70dfd]228 <varlistentry id="libfontconfig">
229 <term><filename class='libraryfile'>libfontconfig.[so,a]</filename></term>
230 <listitem>
[481b3e8]231 <para>contains functions used by the
232 <application>Fontconfig</application> programs and also by other
[51a70dfd]233 programs to configure or customize font access.</para>
234 <indexterm zone="fontconfig libfontconfig">
235 <primary sortas="c-libfontconfig">libfontconfig.[so,a]</primary>
236 </indexterm>
237 </listitem>
238 </varlistentry>
[481b3e8]239
[51a70dfd]240 </variablelist>
241
242 </sect2>
[8de6b187]243
244</sect1>
Note: See TracBrowser for help on using the repository browser.