source: general/graphlib/fontconfig.xml@ 6732c094

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 6732c094 was 6732c094, checked in by Randy McMurchy <randy@…>, 17 years ago

Updated all the XML files (and the one stylesheet) to use the 4.5 version of DocBook XML DTD

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

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