source: general/graphlib/fontconfig.xml@ e8b9dbf7

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

Updated build entities in DocBook-utils instructions; added a note to the Fontconfig instructions to have the SGMLSpm Perl module installed if DocBook-utils is installed

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

  • Property mode set to 100644
File size: 7.0 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/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 "d5e42a27ad2f22bc5ec45f15533fc5d1">
11<!ENTITY fontconfig-size "962 KB">
12<!ENTITY fontconfig-buildsize "10.5 MB">
13<!ENTITY fontconfig-time "0.19 SBU">
14]>
15
16<sect1 id="fontconfig" xreflabel="Fontconfig-&fontconfig-version;">
17<sect1info>
18<othername>$LastChangedBy$</othername>
19<date>$Date$</date>
20</sect1info>
21<?dbhtml filename="fontconfig.html"?>
22<title>Fontconfig-&fontconfig-version;</title>
23<indexterm zone="fontconfig">
24<primary sortas="a-Fontconfig">Fontconfig</primary></indexterm>
25
26<sect2>
27<title>Introduction to <application>Fontconfig</application></title>
28
29<para>The <application>Fontconfig</application> package is a library
30for configuring and customizing font access.</para>
31
32<sect3><title>Package information</title>
33<itemizedlist spacing='compact'>
34<listitem><para>Download (HTTP): <ulink
35url="&fontconfig-download-http;"/></para></listitem>
36<listitem><para>Download (FTP): <ulink
37url="&fontconfig-download-ftp;"/></para></listitem>
38<listitem><para>Download MD5 sum: &fontconfig-md5sum;</para></listitem>
39<listitem><para>Download size: &fontconfig-size;</para></listitem>
40<listitem><para>Estimated disk space required:
41&fontconfig-buildsize;</para></listitem>
42<listitem><para>Estimated build time:
43&fontconfig-time;</para></listitem></itemizedlist>
44
45<note><para>The numbering system of <application>Fontconfig</application> is
46unusual. The beta versions of the package are numbered with a 9x in the last
47portion of the release number. This means that 2.3.90 is a beta release and
48the most current release is of the form 2.3.1</para></note>
49</sect3>
50
51<sect3><title><application>Fontconfig</application> dependencies</title>
52<sect4><title>Required</title>
53<para><xref linkend="freetype2"/> and <xref linkend="expat"/></para>
54</sect4>
55
56<sect4><title>Optional</title>
57<para><xref linkend="docbook-utils"/></para>
58
59<note><para>If you have <application>DocBook-utils</application> installed,
60you must also have <xref linkend="perl-modules"/>: SGMLSpm-1.03ii installed
61also, or the <application>Fontconfig</application> build will
62fail.</para></note>
63</sect4>
64</sect3>
65
66</sect2>
67
68<sect2>
69<title>Installation of <application>Fontconfig</application></title>
70
71<para>Install <application>Fontconfig</application> by running the following
72commands:</para>
73
74<screen><userinput><command>./configure --prefix=/usr \
75 --sysconfdir=/etc --disable-docs &amp;&amp;
76make</command></userinput></screen>
77
78<para>Now, as the root user:</para>
79
80<screen><userinput role='root'><command>make install</command></userinput></screen>
81</sect2>
82
83<sect2>
84<title>Command explanations</title>
85
86<para><option>--disable-docs</option>: This switch avoids building the
87documentation. If you wish to build the documentation using
88<application>DocBook-utils</application>, you may need to remove the
89<application>OpenSP</application> catalog definitions from the system
90<acronym>SGML</acronym> catalogs. Use the following command before building
91the package to accomplish this:</para>
92
93<screen><userinput><command>sed -i.orig \
94 -e "/CATALOG \/etc\/sgml\/OpenSP-1.5.1.cat/d" \
95 /etc/sgml/catalog \
96 /etc/sgml/sgml-docbook.cat</command></userinput></screen>
97
98</sect2>
99
100<sect2>
101<title>Configuring <application>Fontconfig</application></title>
102
103<sect3 id="fontconfig-config"><title>Config files</title>
104<para><filename>/etc/fonts/* and /etc/fonts/conf.d/*</filename></para>
105<indexterm zone="fontconfig fontconfig-config">
106<primary sortas="e-etc-fonts">/etc/fonts/*</primary></indexterm>
107<indexterm zone="fontconfig fontconfig-config">
108<primary sortas="e-etc-fonts-conf.d">/etc/fonts/conf.d/*</primary></indexterm>
109</sect3>
110
111<sect3><title>Configuration Information</title>
112
113<para>The configuration file for <application>Fontconfig</application> is
114<filename>/etc/fonts/fonts.conf</filename>. Generally you do not want to edit
115this file. To put a new font directory in the configuration, create (or
116update) the <filename>/etc/fonts/local.conf</filename> file with your local
117information. The default location of fonts in
118<application>Fontconfig</application> is:
119</para>
120
121<itemizedlist spacing='compact'>
122<listitem><para>/usr/share/fonts</para></listitem>
123<listitem><para>~/.fonts</para></listitem>
124</itemizedlist>
125<indexterm zone="fontconfig fontconfig-config">
126<primary sortas="g-usr-share-fonts">/usr/share/fonts</primary></indexterm>
127<indexterm zone="fontconfig fontconfig-config">
128<primary sortas="g-AA.fonts">~/.fonts</primary></indexterm>
129
130<note><para><application>X</application> also includes an internal (and
131older) version of <application>Fontconfig</application> and unless it is
132explicitly disabled when building <application>Xorg</application> or
133<application>XFree86</application>, the internal version is created leaving
134two slightly incompatible libraries on your system. It is recommended that
135you only install one version.</para></note>
136</sect3>
137
138</sect2>
139
140<sect2>
141<title>Contents</title>
142
143<segmentedlist>
144<segtitle>Installed Programs</segtitle>
145<segtitle>Installed Library</segtitle>
146<segtitle>Installed Directories</segtitle>
147
148<seglistitem>
149<seg>fc-cache, fc-list and fc-match</seg>
150<seg>libfontconfig.[so,a]</seg>
151<seg>/etc/fonts and /usr/include/fontconfig</seg>
152</seglistitem>
153</segmentedlist>
154
155<variablelist>
156<bridgehead renderas="sect3">Short Descriptions</bridgehead>
157<?dbfo list-presentation="list"?>
158
159<varlistentry id="fc-cache">
160<term><command>fc-cache</command></term>
161<listitem><para>is used to create font information caches.</para>
162<indexterm zone="fontconfig fc-cache">
163<primary sortas="b-fc-cache">fc-cache</primary>
164</indexterm></listitem>
165</varlistentry>
166
167<varlistentry id="fc-list">
168<term><command>fc-list</command></term>
169<listitem><para>is used to create font lists.</para>
170<indexterm zone="fontconfig fc-list">
171<primary sortas="b-fc-list">fc-list</primary>
172</indexterm></listitem>
173</varlistentry>
174
175<varlistentry id="fc-match">
176<term><command>fc-match</command></term>
177<listitem><para>is used to match available fonts, or find fonts that match
178a given pattern.</para>
179<indexterm zone="fontconfig fc-match">
180<primary sortas="b-fc-match">fc-match</primary>
181</indexterm></listitem>
182</varlistentry>
183
184<varlistentry id="libfontconfig">
185<term><filename class='libraryfile'>libfontconfig.[so,a]</filename></term>
186<listitem><para>contains functions used by the
187<application>Fontconfig</application> programs and also by other programs to
188configure or customize font access.</para>
189<indexterm zone="fontconfig libfontconfig">
190<primary sortas="c-libfontconfig">libfontconfig.[so,a]</primary>
191</indexterm></listitem>
192</varlistentry>
193</variablelist>
194
195</sect2>
196
197</sect1>
Note: See TracBrowser for help on using the repository browser.