source: general/graphlib/fontconfig.xml@ 22ac237

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.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 xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 22ac237 was 22ac237, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

Typo fix. General.

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

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