source: general/graphlib/fontconfig.xml@ 323d61c

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 323d61c was 323d61c, checked in by Randy McMurchy <randy@…>, 19 years ago

Fixed typos in SGML-Common and Xorg instructions; removed unnecessary text from FontConfig instructions

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

  • Property mode set to 100644
File size: 8.2 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-sgmlspm"/> installed also, or the
76 <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 &amp;&amp;
96make -C doc install &amp;&amp;
97install -v -m 644 doc/*.3 /usr/share/man/man3/</userinput></screen>
98
99 </sect2>
100
101 <sect2 role="commands">
102 <title>Command Explanations</title>
103
104 <para><parameter>--disable-docs</parameter>: This switch avoids building the
105 documentation. If you wish to build the documentation using
106 <application>DocBook-utils</application>, you may need to remove the
107 <application>OpenSP</application> catalog definitions from the system
108 SGML catalogs. Use the following command before building
109 the package to accomplish this:</para>
110
111<screen role="root"><userinput>sed -i.orig \
112 -e "\%CATALOG /etc/sgml/OpenSP-1.5.1.cat%d" \
113 /etc/sgml/catalog \
114 /etc/sgml/sgml-docbook.cat</userinput></screen>
115
116 </sect2>
117
118 <sect2 role="configuration">
119 <title>Configuring Fontconfig</title>
120
121 <sect3 id="fontconfig-config">
122 <title>Config Files</title>
123
124 <para><filename>/etc/fonts/* and /etc/fonts/conf.d/*</filename></para>
125
126 <indexterm zone="fontconfig fontconfig-config">
127 <primary sortas="e-etc-fonts">/etc/fonts/*</primary>
128 </indexterm>
129
130 <indexterm zone="fontconfig fontconfig-config">
131 <primary sortas="e-etc-fonts-conf.d">/etc/fonts/conf.d/*</primary>
132 </indexterm>
133
134 </sect3>
135
136 <sect3>
137 <title>Configuration Information</title>
138
139 <para>The configuration file for <application>Fontconfig</application> is
140 <filename>/etc/fonts/fonts.conf</filename>. Generally you do not want to edit
141 this file. To put a new font directory in the configuration, create (or
142 update) the <filename>/etc/fonts/local.conf</filename> file with your local
143 information. The default location of fonts in
144 <application>Fontconfig</application> is:</para>
145
146 <itemizedlist spacing='compact'>
147 <listitem>
148 <para>/usr/share/fonts</para>
149 </listitem>
150 <listitem>
151 <para>~/.fonts</para>
152 </listitem>
153 </itemizedlist>
154
155 <indexterm zone="fontconfig fontconfig-config">
156 <primary sortas="g-usr-share-fonts">/usr/share/fonts</primary>
157 </indexterm>
158
159 <indexterm zone="fontconfig fontconfig-config">
160 <primary sortas="g-AA.fonts">~/.fonts</primary>
161 </indexterm>
162
163 <note>
164 <para><application>X</application> also includes an internal (and
165 older) version of <application>Fontconfig</application> and unless it is
166 explicitly disabled when building <application>Xorg</application> or
167 <application>XFree86</application>, the internal version is created leaving
168 two slightly incompatible libraries on your system. It is recommended that
169 you only install one version.</para>
170 </note>
171
172 </sect3>
173
174 </sect2>
175
176 <sect2 role="content">
177 <title>Contents</title>
178
179 <segmentedlist>
180 <segtitle>Installed Programs</segtitle>
181 <segtitle>Installed Library</segtitle>
182 <segtitle>Installed Directories</segtitle>
183
184 <seglistitem>
185 <seg>fc-cache, fc-list, and fc-match</seg>
186 <seg>libfontconfig.[so,a]</seg>
187 <seg>/etc/fonts and /usr/include/fontconfig</seg>
188 </seglistitem>
189 </segmentedlist>
190
191 <variablelist>
192 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
193 <?dbfo list-presentation="list"?>
194 <?dbhtml list-presentation="table"?>
195
196 <varlistentry id="fc-cache">
197 <term><command>fc-cache</command></term>
198 <listitem>
199 <para>is used to create font information caches.</para>
200 <indexterm zone="fontconfig fc-cache">
201 <primary sortas="b-fc-cache">fc-cache</primary>
202 </indexterm>
203 </listitem>
204 </varlistentry>
205
206 <varlistentry id="fc-list">
207 <term><command>fc-list</command></term>
208 <listitem>
209 <para>is used to create font lists.</para>
210 <indexterm zone="fontconfig fc-list">
211 <primary sortas="b-fc-list">fc-list</primary>
212 </indexterm>
213 </listitem>
214 </varlistentry>
215
216 <varlistentry id="fc-match">
217 <term><command>fc-match</command></term>
218 <listitem>
219 <para>is used to match available fonts, or find fonts that match
220 a given pattern.</para>
221 <indexterm zone="fontconfig fc-match">
222 <primary sortas="b-fc-match">fc-match</primary>
223 </indexterm>
224 </listitem>
225 </varlistentry>
226
227 <varlistentry id="libfontconfig">
228 <term><filename class='libraryfile'>libfontconfig.[so,a]</filename></term>
229 <listitem>
230 <para>contains functions used by the
231 <application>Fontconfig</application> programs and also by other
232 programs to configure or customize font access.</para>
233 <indexterm zone="fontconfig libfontconfig">
234 <primary sortas="c-libfontconfig">libfontconfig.[so,a]</primary>
235 </indexterm>
236 </listitem>
237 </varlistentry>
238
239 </variablelist>
240
241 </sect2>
242
243</sect1>
Note: See TracBrowser for help on using the repository browser.