source: general/graphlib/fontconfig.xml@ a88d3670

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

Added verbose flag to Fontconfig man pages installation

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

  • Property mode set to 100644
File size: 8.4 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-download-ftp " ">
10 <!ENTITY fontconfig-md5sum "7354f9f125ea78a8f2851cb9c31d4866">
11 <!ENTITY fontconfig-size "942 KB">
12 <!ENTITY fontconfig-buildsize "10.5 MB">
13 <!ENTITY fontconfig-time "0.2 SBU">
14]>
15
16<sect1 id="fontconfig" xreflabel="Fontconfig-&fontconfig-version;">
17 <?dbhtml filename="fontconfig.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>Fontconfig-&fontconfig-version;</title>
25
26 <indexterm zone="fontconfig">
27 <primary sortas="a-Fontconfig">Fontconfig</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to Fontconfig</title>
32
33 <para>The <application>Fontconfig</application> package is a library
34 for configuring and customizing font access.</para>
35
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>
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
62 the most current release is of the form 2.3.1</para>
63 </note>
64
65 <bridgehead renderas="sect3">Fontconfig Dependencies</bridgehead>
66
67 <bridgehead renderas="sect4">Required</bridgehead>
68 <para><xref linkend="freetype2"/> and <xref linkend="expat"/></para>
69
70 <bridgehead renderas="sect4">Optional</bridgehead>
71 <para><xref linkend="docbook-utils"/></para>
72
73 <note>
74 <para>If you have <application>DocBook-utils</application> installed,
75 you must also have <xref linkend="perl-modules"/>: SGMLSpm-1.03ii installed
76 also, or the <application>Fontconfig</application> build will fail.</para>
77 </note>
78
79 </sect2>
80
81 <sect2 role="installation">
82 <title>Installation of Fontconfig</title>
83
84 <para>Install <application>Fontconfig</application> by running the following
85 commands:</para>
86
87<screen><userinput>./configure --prefix=/usr \
88 --sysconfdir=/etc --disable-docs &amp;&amp;
89make</userinput></screen>
90
91 <para>To test the results, issue: <command>make check</command>.</para>
92
93 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
94
95<screen role="root"><userinput>make install</userinput></screen>
96
97 <para>Additionally, install the documentation by executing the following
98 as the <systemitem class="username">root</systemitem> user:</para>
99
100<screen role="root"><userinput>make -C doc install &amp;&amp;
101install -v -m 644 doc/*.3 /usr/share/man/man3/</userinput></screen>
102
103 </sect2>
104
105 <sect2 role="commands">
106 <title>Command Explanations</title>
107
108 <para><parameter>--disable-docs</parameter>: This switch avoids building the
109 documentation. If you wish to build the documentation using
110 <application>DocBook-utils</application>, you may need to remove the
111 <application>OpenSP</application> catalog definitions from the system
112 SGML catalogs. Use the following command before building
113 the package to accomplish this:</para>
114
115<screen role="root"><userinput>sed -i.orig \
116 -e "\%CATALOG /etc/sgml/OpenSP-1.5.1.cat%d" \
117 /etc/sgml/catalog \
118 /etc/sgml/sgml-docbook.cat</userinput></screen>
119
120 </sect2>
121
122 <sect2 role="configuration">
123 <title>Configuring Fontconfig</title>
124
125 <sect3 id="fontconfig-config">
126 <title>Config Files</title>
127
128 <para><filename>/etc/fonts/* and /etc/fonts/conf.d/*</filename></para>
129
130 <indexterm zone="fontconfig fontconfig-config">
131 <primary sortas="e-etc-fonts">/etc/fonts/*</primary>
132 </indexterm>
133
134 <indexterm zone="fontconfig fontconfig-config">
135 <primary sortas="e-etc-fonts-conf.d">/etc/fonts/conf.d/*</primary>
136 </indexterm>
137
138 </sect3>
139
140 <sect3>
141 <title>Configuration Information</title>
142
143 <para>The configuration file for <application>Fontconfig</application> is
144 <filename>/etc/fonts/fonts.conf</filename>. Generally you do not want to edit
145 this file. To put a new font directory in the configuration, create (or
146 update) the <filename>/etc/fonts/local.conf</filename> file with your local
147 information. The default location of fonts in
148 <application>Fontconfig</application> is:</para>
149
150 <itemizedlist spacing='compact'>
151 <listitem>
152 <para>/usr/share/fonts</para>
153 </listitem>
154 <listitem>
155 <para>~/.fonts</para>
156 </listitem>
157 </itemizedlist>
158
159 <indexterm zone="fontconfig fontconfig-config">
160 <primary sortas="g-usr-share-fonts">/usr/share/fonts</primary>
161 </indexterm>
162
163 <indexterm zone="fontconfig fontconfig-config">
164 <primary sortas="g-AA.fonts">~/.fonts</primary>
165 </indexterm>
166
167 <note>
168 <para><application>X</application> also includes an internal (and
169 older) version of <application>Fontconfig</application> and unless it is
170 explicitly disabled when building <application>Xorg</application> or
171 <application>XFree86</application>, the internal version is created leaving
172 two slightly incompatible libraries on your system. It is recommended that
173 you only install one version.</para>
174 </note>
175
176 </sect3>
177
178 </sect2>
179
180 <sect2 role="content">
181 <title>Contents</title>
182
183 <segmentedlist>
184 <segtitle>Installed Programs</segtitle>
185 <segtitle>Installed Library</segtitle>
186 <segtitle>Installed Directories</segtitle>
187
188 <seglistitem>
189 <seg>fc-cache, fc-list, and fc-match</seg>
190 <seg>libfontconfig.[so,a]</seg>
191 <seg>/etc/fonts and /usr/include/fontconfig</seg>
192 </seglistitem>
193 </segmentedlist>
194
195 <variablelist>
196 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
197 <?dbfo list-presentation="list"?>
198 <?dbhtml list-presentation="table"?>
199
200 <varlistentry id="fc-cache">
201 <term><command>fc-cache</command></term>
202 <listitem>
203 <para>is used to create font information caches.</para>
204 <indexterm zone="fontconfig fc-cache">
205 <primary sortas="b-fc-cache">fc-cache</primary>
206 </indexterm>
207 </listitem>
208 </varlistentry>
209
210 <varlistentry id="fc-list">
211 <term><command>fc-list</command></term>
212 <listitem>
213 <para>is used to create font lists.</para>
214 <indexterm zone="fontconfig fc-list">
215 <primary sortas="b-fc-list">fc-list</primary>
216 </indexterm>
217 </listitem>
218 </varlistentry>
219
220 <varlistentry id="fc-match">
221 <term><command>fc-match</command></term>
222 <listitem>
223 <para>is used to match available fonts, or find fonts that match
224 a given pattern.</para>
225 <indexterm zone="fontconfig fc-match">
226 <primary sortas="b-fc-match">fc-match</primary>
227 </indexterm>
228 </listitem>
229 </varlistentry>
230
231 <varlistentry id="libfontconfig">
232 <term><filename class='libraryfile'>libfontconfig.[so,a]</filename></term>
233 <listitem>
234 <para>contains functions used by the
235 <application>Fontconfig</application> programs and also by other
236 programs to configure or customize font access.</para>
237 <indexterm zone="fontconfig libfontconfig">
238 <primary sortas="c-libfontconfig">libfontconfig.[so,a]</primary>
239 </indexterm>
240 </listitem>
241 </varlistentry>
242
243 </variablelist>
244
245 </sect2>
246
247</sect1>
Note: See TracBrowser for help on using the repository browser.