source: general/graphlib/fontconfig.xml@ 907fee89

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 907fee89 was 907fee89, checked in by Igor Živković <igor@…>, 20 years ago

Added a test suite note to Fontconfig.

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

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