source: general/graphlib/fontconfig.xml@ 19bf3801

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

Updated to Fontconfig-2.3.1

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

  • Property mode set to 100644
File size: 6.8 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</sect4>
59</sect3>
60
61</sect2>
62
63<sect2>
64<title>Installation of <application>Fontconfig</application></title>
65
66<para>Install <application>Fontconfig</application> by running the following
67commands:</para>
68
69<screen><userinput><command>./configure --prefix=/usr \
70 --sysconfdir=/etc --disable-docs &amp;&amp;
71make</command></userinput></screen>
72
73<para>Now, as the root user:</para>
74
75<screen><userinput role='root'><command>make install</command></userinput></screen>
76</sect2>
77
78<sect2>
79<title>Command explanations</title>
80
81<para><option>--disable-docs</option>: This switch avoids building the
82documentation. If you wish to build the documentation using
83<application>DocBook-utils</application>, you may need to remove the
84<application>OpenSP</application> catalog definitions from the system
85<acronym>SGML</acronym> catalogs. Use the following command before building
86the package to accomplish this:</para>
87
88<screen><userinput><command>sed -i.orig \
89 -e "/CATALOG \/etc\/sgml\/OpenSP-1.5.1.cat/d" \
90 /etc/sgml/catalog \
91 /etc/sgml/sgml-docbook.cat</command></userinput></screen>
92
93</sect2>
94
95<sect2>
96<title>Configuring <application>Fontconfig</application></title>
97
98<sect3 id="fontconfig-config"><title>Config files</title>
99<para><filename>/etc/fonts/* and /etc/fonts/conf.d/*</filename></para>
100<indexterm zone="fontconfig fontconfig-config">
101<primary sortas="e-etc-fonts">/etc/fonts/*</primary></indexterm>
102<indexterm zone="fontconfig fontconfig-config">
103<primary sortas="e-etc-fonts-conf.d">/etc/fonts/conf.d/*</primary></indexterm>
104</sect3>
105
106<sect3><title>Configuration Information</title>
107
108<para>The configuration file for <application>Fontconfig</application> is
109<filename>/etc/fonts/fonts.conf</filename>. Generally you do not want to edit
110this file. To put a new font directory in the configuration, create (or
111update) the <filename>/etc/fonts/local.conf</filename> file with your local
112information. The default location of fonts in
113<application>Fontconfig</application> is:
114</para>
115
116<itemizedlist spacing='compact'>
117<listitem><para>/usr/share/fonts</para></listitem>
118<listitem><para>~/.fonts</para></listitem>
119</itemizedlist>
120<indexterm zone="fontconfig fontconfig-config">
121<primary sortas="g-usr-share-fonts">/usr/share/fonts</primary></indexterm>
122<indexterm zone="fontconfig fontconfig-config">
123<primary sortas="g-AA.fonts">~/.fonts</primary></indexterm>
124
125<note><para><application>X</application> also includes an internal (and
126older) version of <application>Fontconfig</application> and unless it is
127explicitly disabled when building <application>Xorg</application> or
128<application>XFree86</application>, the internal version is created leaving
129two slightly incompatible libraries on your system. It is recommended that
130you only install one version.</para></note>
131</sect3>
132
133</sect2>
134
135<sect2>
136<title>Contents</title>
137
138<segmentedlist>
139<segtitle>Installed Programs</segtitle>
140<segtitle>Installed Library</segtitle>
141<segtitle>Installed Directories</segtitle>
142
143<seglistitem>
144<seg>fc-cache, fc-list and fc-match</seg>
145<seg>libfontconfig.[so,a]</seg>
146<seg>/etc/fonts and /usr/include/fontconfig</seg>
147</seglistitem>
148</segmentedlist>
149
150<variablelist>
151<bridgehead renderas="sect3">Short Descriptions</bridgehead>
152<?dbfo list-presentation="list"?>
153
154<varlistentry id="fc-cache">
155<term><command>fc-cache</command></term>
156<listitem><para>is used to create font information caches.</para>
157<indexterm zone="fontconfig fc-cache">
158<primary sortas="b-fc-cache">fc-cache</primary>
159</indexterm></listitem>
160</varlistentry>
161
162<varlistentry id="fc-list">
163<term><command>fc-list</command></term>
164<listitem><para>is used to create font lists.</para>
165<indexterm zone="fontconfig fc-list">
166<primary sortas="b-fc-list">fc-list</primary>
167</indexterm></listitem>
168</varlistentry>
169
170<varlistentry id="fc-match">
171<term><command>fc-match</command></term>
172<listitem><para>is used to match available fonts, or find fonts that match
173a given pattern.</para>
174<indexterm zone="fontconfig fc-match">
175<primary sortas="b-fc-match">fc-match</primary>
176</indexterm></listitem>
177</varlistentry>
178
179<varlistentry id="libfontconfig">
180<term><filename class='libraryfile'>libfontconfig.[so,a]</filename></term>
181<listitem><para>contains functions used by the
182<application>Fontconfig</application> programs and also by other programs to
183configure or customize font access.</para>
184<indexterm zone="fontconfig libfontconfig">
185<primary sortas="c-libfontconfig">libfontconfig.[so,a]</primary>
186</indexterm></listitem>
187</varlistentry>
188</variablelist>
189
190</sect2>
191
192</sect1>
Note: See TracBrowser for help on using the repository browser.