source: general/graphlib/fontconfig.xml@ 726744f4

systemd-13485
Last change on this file since 726744f4 was 726744f4, checked in by Douglas R. Reno <renodr@…>, 9 years ago

Move libdrm from X Libraries to General Libraries
Update to mesa-11.0.2
More LFS 7.8-systemd Tags

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@16506 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 12.1 KB
RevLine 
[52d29f7]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[52d29f7]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[eb57769]7 <!ENTITY fontconfig-download-http
8 "http://www.freedesktop.org/software/fontconfig/release/fontconfig-&fontconfig-version;.tar.bz2">
[2a05c87]9 <!ENTITY fontconfig-download-ftp " ">
[2f0f7a0]10 <!ENTITY fontconfig-md5sum "824d000eb737af6e16c826dd3b2d6c90">
[eb57769]11 <!ENTITY fontconfig-size "1.5 MB">
[2f0f7a0]12 <!ENTITY fontconfig-buildsize "17 MB">
[755e97c]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
[70c0ef4]33 <para>
34 The <application>Fontconfig</application> package contains
35 a library and support programs used for configuring and
36 customizing font access.
37 </para>
[481b3e8]38
[726744f4]39 &lfs78_checked;
[482477c]40
[51a70dfd]41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
[70c0ef4]44 <para>
45 Download (HTTP): <ulink url="&fontconfig-download-http;"/>
46 </para>
[51a70dfd]47 </listitem>
48 <listitem>
[70c0ef4]49 <para>
50 Download (FTP): <ulink url="&fontconfig-download-ftp;"/>
51 </para>
[51a70dfd]52 </listitem>
53 <listitem>
[70c0ef4]54 <para>
55 Download MD5 sum: &fontconfig-md5sum;
56 </para>
[51a70dfd]57 </listitem>
58 <listitem>
[70c0ef4]59 <para>
60 Download size: &fontconfig-size;
61 </para>
[51a70dfd]62 </listitem>
63 <listitem>
[70c0ef4]64 <para>
65 Estimated disk space required: &fontconfig-buildsize;
66 </para>
[51a70dfd]67 </listitem>
68 <listitem>
[70c0ef4]69 <para>
70 Estimated build time: &fontconfig-time;
71 </para>
[51a70dfd]72 </listitem>
73 </itemizedlist>
74
75 <bridgehead renderas="sect3">Fontconfig Dependencies</bridgehead>
[481b3e8]76
[51a70dfd]77 <bridgehead renderas="sect4">Required</bridgehead>
[70c0ef4]78 <para role="required">
[56605b9]79 <xref linkend="freetype2"/>
[70c0ef4]80 </para>
[481b3e8]81
[51a70dfd]82 <bridgehead renderas="sect4">Optional</bridgehead>
[70c0ef4]83 <para role="optional">
[56605b9]84 <xref linkend="docbook-utils"/> and
[ac38e9dc]85 <xref linkend="libxml2"/>,
86 <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>)
[70c0ef4]87 </para>
[51a70dfd]88
89 <note>
[70c0ef4]90 <para>
91 If you have <application>DocBook Utils</application> installed and
92 you remove the <parameter>--disable-docs</parameter> parameter from
93 the <command>configure</command> command below, you must have
[755e97c]94 <xref linkend="perl-sgmlspm"/> and <xref linkend="texlive"/> installed
95 also, or the <application>Fontconfig</application> build will fail.
[70c0ef4]96 </para>
[51a70dfd]97 </note>
[481b3e8]98
[1663c2b5]99 <para condition="html" role="usernotes">User Notes:
[70c0ef4]100 <ulink url='&blfs-wiki;/Fontconfig'/>
101 </para>
[51a70dfd]102 </sect2>
[481b3e8]103
[51a70dfd]104 <sect2 role="installation">
105 <title>Installation of Fontconfig</title>
106
[70c0ef4]107 <para>
108 Install <application>Fontconfig</application> by running the following
109 commands:
110 </para>
[51a70dfd]111
[ebcf077e]112<screen><userinput>./configure --prefix=/usr \
113 --sysconfdir=/etc \
[2c70bd1]114 --localstatedir=/var \
[ebcf077e]115 --disable-docs \
[2f0f7a0]116 --docdir=/usr/share/doc/fontconfig-&fontconfig-version; &amp;&amp;
[51a70dfd]117make</userinput></screen>
[481b3e8]118
[70c0ef4]119 <para>
120 To test the results, issue: <command>make check</command>.
121 </para>
[481b3e8]122
[70c0ef4]123 <para>
124 Now, as the <systemitem class="username">root</systemitem> user:
125 </para>
[481b3e8]126
[18b6c56]127<screen role="root"><userinput>make install</userinput></screen>
[4774a15e]128
[70c0ef4]129 <para>
130 If you did not remove the <parameter>--disable-docs</parameter>
131 parameter from the <command>configure</command> command, you can install
132 the pre-generated documentation by using the following commands as the
133 <systemitem class="username">root</systemitem> user:
134 </para>
[2c70bd1]135
[efdbb27]136<screen role="root"><userinput>install -v -dm755 \
137 /usr/share/{man/man{3,5},doc/fontconfig-&fontconfig-version;/fontconfig-devel} &amp;&amp;
[2c70bd1]138install -v -m644 fc-*/*.1 /usr/share/man/man1 &amp;&amp;
139install -v -m644 doc/*.3 /usr/share/man/man3 &amp;&amp;
140install -v -m644 doc/fonts-conf.5 /usr/share/man/man5 &amp;&amp;
141install -v -m644 doc/fontconfig-devel/* \
[efdbb27]142 /usr/share/doc/fontconfig-&fontconfig-version;/fontconfig-devel &amp;&amp;
[2c70bd1]143install -v -m644 doc/*.{pdf,sgml,txt,html} \
[efdbb27]144 /usr/share/doc/fontconfig-&fontconfig-version;</userinput></screen>
[2c70bd1]145
[51a70dfd]146 </sect2>
[481b3e8]147
[51a70dfd]148 <sect2 role="commands">
149 <title>Command Explanations</title>
150
[70c0ef4]151 <para>
152 <option>--disable-docs</option>: This switch avoids building the
153 documentation (the release tarball includes pre-generated
154 documentation).
155 </para>
156
[51a70dfd]157 </sect2>
[481b3e8]158
[51a70dfd]159 <sect2 role="configuration">
160 <title>Configuring Fontconfig</title>
161
162 <sect3 id="fontconfig-config">
163 <title>Config Files</title>
[481b3e8]164
[70c0ef4]165 <para>
166 <filename>
167 /etc/fonts/*,
168 /etc/fonts/conf.d/* and
169 /usr/share/fontconfig/conf.avail/*
170 </filename>
171 </para>
[481b3e8]172
[51a70dfd]173 <indexterm zone="fontconfig fontconfig-config">
174 <primary sortas="e-etc-fonts">/etc/fonts/*</primary>
175 </indexterm>
[481b3e8]176
[51a70dfd]177 <indexterm zone="fontconfig fontconfig-config">
178 <primary sortas="e-etc-fonts-conf.d">/etc/fonts/conf.d/*</primary>
179 </indexterm>
[481b3e8]180
[fdf8b786]181 <indexterm zone="fontconfig fontconfig-config">
[70c0ef4]182 <primary sortas="e-usr-share-fontconfig-conf.avail">/usr/share/fontconfig/conf.avail/*</primary>
[fdf8b786]183 </indexterm>
184
[51a70dfd]185 </sect3>
186
187 <sect3>
188 <title>Configuration Information</title>
[481b3e8]189
[70c0ef4]190 <para>
191 The main configuration file for <application>Fontconfig</application> is
192 <filename>/etc/fonts/fonts.conf</filename>. Generally you do not want
193 to edit this file. It will also read <filename>/etc/fonts/local.conf</filename>
194 and any files in <filename class="directory">/etc/fonts/conf.d</filename>.
195 To put a new font directory in the configuration, create
196 (or update) the <filename>/etc/fonts/local.conf</filename> file with your
197 local information or add a new file in
198 <filename class="directory">/etc/fonts/conf.d</filename>. The default
199 location of fonts in <application>Fontconfig</application> is:
200 </para>
201
202 <itemizedlist spacing="compact">
[51a70dfd]203 <listitem>
204 <para>/usr/share/fonts</para>
205 </listitem>
206 <listitem>
207 <para>~/.fonts</para>
208 </listitem>
209 </itemizedlist>
[481b3e8]210
[70c0ef4]211 <para>
212 <application>Fontconfig</application> also ships many example
213 configuration files in the
214 <filename class="directory">/usr/share/fontconfig/conf.avail</filename>
215 directory. Symlinking specific files to
216 <filename class="directory">/etc/fonts/conf.d</filename>
217 will enable them. The default setup is generally good enough for
218 most users. See <filename>/etc/fonts/conf.d/README</filename>
219 for a description of the configuration files.
220 </para>
[fdf8b786]221
[51a70dfd]222 <indexterm zone="fontconfig fontconfig-config">
[b960e3ec]223 <primary sortas="e-usr-share-fonts">/usr/share/fonts</primary>
[51a70dfd]224 </indexterm>
[481b3e8]225
[51a70dfd]226 <indexterm zone="fontconfig fontconfig-config">
[b960e3ec]227 <primary sortas="e-AA.fonts">~/.fonts</primary>
[51a70dfd]228 </indexterm>
[481b3e8]229
[70c0ef4]230 <para>
231 More information about configuring <application>Fontconfig</application>
232 can be found in the user's manual in <ulink
233 url="file:///usr/share/doc/fontconfig-&fontconfig-version;/fontconfig-user.html"/>
[fdf8b786]234 </para>
[e4e85b2]235
[51a70dfd]236 </sect3>
[481b3e8]237
[51a70dfd]238 </sect2>
[481b3e8]239
[51a70dfd]240 <sect2 role="content">
241 <title>Contents</title>
242
243 <segmentedlist>
244 <segtitle>Installed Programs</segtitle>
245 <segtitle>Installed Library</segtitle>
246 <segtitle>Installed Directories</segtitle>
[481b3e8]247
[51a70dfd]248 <seglistitem>
[70c0ef4]249 <seg>
[eb57769]250 fc-cache, fc-cat, fc-list, fc-match, fc-pattern, fc-query,
251 fc-scan and fc-validate
[70c0ef4]252 </seg>
253 <seg>
254 libfontconfig.so
255 </seg>
256 <seg>
257 /etc/fonts,
258 /usr/include/fontconfig,
[eb57769]259 /usr/share/doc/fontconfig-&fontconfig-version;,
[59feb2c]260 /usr/share/fontconfig,
[eb57769]261 /usr/share/xml/fontconfig and
[70c0ef4]262 /var/cache/fontconfig
263 </seg>
[51a70dfd]264 </seglistitem>
265 </segmentedlist>
[481b3e8]266
[51a70dfd]267 <variablelist>
268 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
269 <?dbfo list-presentation="list"?>
270 <?dbhtml list-presentation="table"?>
[481b3e8]271
[51a70dfd]272 <varlistentry id="fc-cache">
273 <term><command>fc-cache</command></term>
274 <listitem>
[70c0ef4]275 <para>
276 is used to create font information caches.
277 </para>
[51a70dfd]278 <indexterm zone="fontconfig fc-cache">
279 <primary sortas="b-fc-cache">fc-cache</primary>
280 </indexterm>
281 </listitem>
282 </varlistentry>
[481b3e8]283
[fdf8b786]284 <varlistentry id="fc-cat">
285 <term><command>fc-cat</command></term>
286 <listitem>
[70c0ef4]287 <para>
288 is used to read font information caches.
289 </para>
[fdf8b786]290 <indexterm zone="fontconfig fc-cat">
291 <primary sortas="b-fc-cat">fc-cat</primary>
292 </indexterm>
293 </listitem>
294 </varlistentry>
295
[51a70dfd]296 <varlistentry id="fc-list">
297 <term><command>fc-list</command></term>
298 <listitem>
[70c0ef4]299 <para>
300 is used to create font lists.
301 </para>
[51a70dfd]302 <indexterm zone="fontconfig fc-list">
303 <primary sortas="b-fc-list">fc-list</primary>
304 </indexterm>
305 </listitem>
306 </varlistentry>
[481b3e8]307
[51a70dfd]308 <varlistentry id="fc-match">
309 <term><command>fc-match</command></term>
310 <listitem>
[70c0ef4]311 <para>
312 is used to match available fonts, or find fonts that match
313 a given pattern.
314 </para>
[51a70dfd]315 <indexterm zone="fontconfig fc-match">
316 <primary sortas="b-fc-match">fc-match</primary>
317 </indexterm>
318 </listitem>
319 </varlistentry>
[481b3e8]320
[eb57769]321 <varlistentry id="fc-pattern">
322 <term><command>fc-pattern</command></term>
323 <listitem>
324 <para>
325 is used to parse pattern (empty pattern by default) and show
326 the parsed result.
327 </para>
328 <indexterm zone="fontconfig fc-pattern">
329 <primary sortas="b-fc-pattern">fc-pattern</primary>
330 </indexterm>
331 </listitem>
332 </varlistentry>
333
[78fe2b4]334 <varlistentry id="fc-query">
335 <term><command>fc-query</command></term>
336 <listitem>
[70c0ef4]337 <para>
338 is used to query fonts files and print resulting patterns.
[78fe2b4]339 </para>
340 <indexterm zone="fontconfig fc-query">
341 <primary sortas="b-fc-query">fc-query</primary>
342 </indexterm>
343 </listitem>
344 </varlistentry>
345
346 <varlistentry id="fc-scan">
347 <term><command>fc-scan</command></term>
348 <listitem>
[70c0ef4]349 <para>
350 is used to scan font files and directories, and print resulting
351 patterns.
352 </para>
[78fe2b4]353 <indexterm zone="fontconfig fc-scan">
354 <primary sortas="b-fc-scan">fc-scan</primary>
355 </indexterm>
356 </listitem>
357 </varlistentry>
358
[eb57769]359 <varlistentry id="fc-validate">
360 <term><command>fc-validate</command></term>
361 <listitem>
362 <para>
363 is used to validate font files.
364 </para>
365 <indexterm zone="fontconfig fc-validate">
366 <primary sortas="b-fc-validate">fc-validate</primary>
367 </indexterm>
368 </listitem>
369 </varlistentry>
370
[51a70dfd]371 <varlistentry id="libfontconfig">
[efdbb27]372 <term><filename class="libraryfile">libfontconfig.so</filename></term>
[51a70dfd]373 <listitem>
[70c0ef4]374 <para>
375 contains functions used by the <application>Fontconfig</application>
376 programs and also by other programs to configure or customize font
377 access.
378 </para>
[51a70dfd]379 <indexterm zone="fontconfig libfontconfig">
[70c0ef4]380 <primary sortas="c-libfontconfig">libfontconfig.so</primary>
[51a70dfd]381 </indexterm>
382 </listitem>
383 </varlistentry>
[481b3e8]384
[51a70dfd]385 </variablelist>
386
387 </sect2>
[8de6b187]388
389</sect1>
Note: See TracBrowser for help on using the repository browser.