source: general/graphlib/fontconfig.xml@ f9d2ee6

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

Added documentation build instructions to Fontconfig

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

  • Property mode set to 100644
File size: 5.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://freedesktop.org/~fontconfig/release/fontconfig-&fontconfig-version;.tar.gz">
8<!ENTITY fontconfig-download-ftp "ftp://ftp.us.sinuspl.net/pub/src/fontconfig-&fontconfig-version;.tar.gz">
9<!ENTITY fontconfig-size "727 KB">
10<!ENTITY fontconfig-buildsize "11 MB">
11<!ENTITY fontconfig-time "0.18 SBU">
12]>
13
14<sect1 id="fontconfig" xreflabel="Fontconfig-&fontconfig-version;">
15<sect1info>
16<othername>$LastChangedBy$</othername>
17<date>$Date$</date>
18</sect1info>
19<?dbhtml filename="fontconfig.html"?>
20<title>Fontconfig-&fontconfig-version;</title>
21
22<sect2>
23<title>Introduction to <application>Fontconfig</application></title>
24
25<para>The <application>Fontconfig</application> package is a library
26for configuring and customizing font access.</para>
27
28<sect3><title>Package information</title>
29<itemizedlist spacing='compact'>
30<listitem><para>Download (HTTP): <ulink
31url="&fontconfig-download-http;"/></para></listitem>
32<listitem><para>Download (FTP): <ulink
33url="&fontconfig-download-ftp;"/></para></listitem>
34<listitem><para>Download size: &fontconfig-size;</para></listitem>
35<listitem><para>Estimated Disk space required:
36&fontconfig-buildsize;</para></listitem>
37<listitem><para>Estimated build time:
38&fontconfig-time;</para></listitem></itemizedlist>
39
40<note><para>The numbering system of <application>Fontconfig</application> is
41unusual. The beta versions of the package are numbered with a 9x in the last
42portion of the release number. This means that 2.2.96 is a beta release and
43the most current release is of the form 2.2.3</para></note>
44
45</sect3>
46
47<sect3><title><application>Fontconfig</application> dependencies</title>
48<sect4><title>Required</title>
49<para><xref linkend="freetype2"/> and <xref linkend="expat"/></para></sect4>
50<sect4><title>Optional</title>
51<para>
52<xref linkend="docbook-utils"/>
53</para></sect4>
54</sect3>
55
56</sect2>
57
58<sect2>
59<title>Installation of <application>Fontconfig</application></title>
60
61<para>Install <application>Fontconfig</application> by running the following
62commands:</para>
63
64<screen><userinput><command>./configure --prefix=/usr \
65 --sysconfdir=/etc --disable-docs &amp;&amp;
66make &amp;&amp;
67make install</command></userinput></screen>
68</sect2>
69
70<sect2>
71<title>Command explanations</title>
72
73<para><option>--disable-docs</option>: This switch avoids building the
74documentation. If you wish to build the documentation using
75<application>DocBook-utils</application>, you may need to remove the
76<application>OpenSP</application> catalog definitions from the system
77<acronym>SGML</acronym> catalogs. Use the following commands before building
78the package to accomplish this:</para>
79
80<screen><userinput><command>sed -i.orig -e "/CATALOG \/etc\/sgml\/OpenSP-1.5.1.cat/d" \
81 /etc/sgml/catalog &amp;&amp;
82sed -i.orig -e "/CATALOG \/etc\/sgml\/OpenSP-1.5.1.cat/d" \
83 /etc/sgml/sgml-docbook.cat</command></userinput></screen>
84
85<para>If desired, restore the orginal <acronym>SGML</acronym> catalogs after
86the build is complete using the following commands:</para>
87
88<screen><userinput><command>cp /etc/sgml/catalog.orig /etc/sgml/catalog &amp;&amp;
89cp /etc/sgml/sgml-docbook.cat.orig /etc/sgml/sgml-docbook.cat</command></userinput></screen>
90
91</sect2>
92
93<sect2>
94<title>Configuring <application>Fontconfig</application></title>
95
96<sect3><title>Config files</title>
97<para><filename>/etc/fonts/*</filename></para>
98</sect3>
99
100<sect3><title>Configuration Information</title>
101
102<para>The configuration file for <application>Fontconfig</application> is
103<filename>/etc/fonts/fonts.conf</filename>. Generally you do not want to edit
104this file. To put a new font directory in the configuration, update the
105<filename>/etc/fonts/local.conf</filename> file with your local information.
106The default location of fonts in <application>Fontconfig</application> is:
107</para>
108
109<itemizedlist spacing='compact'>
110<listitem><para>/usr/share/fonts</para></listitem>
111<listitem><para>~/.fonts</para></listitem>
112</itemizedlist>
113
114<note><para><application>X</application> also includes an internal (and
115older) version of <application>Fontconfig</application> and unless it is
116explicitly disabled when building <application>XFree86</application>, the
117internal version is created leaving two slightly incompatible libraries on
118your system. It is recommended that you only install one version.</para></note>
119
120</sect3>
121
122</sect2>
123
124<sect2>
125<title>Contents</title>
126
127<para>The <application>Fontconfig</application> package contains the
128<filename class='libraryfile'>libfontconfig</filename> library,
129<command>fc-cache</command>, and <command>fc-list</command>.</para>
130
131</sect2>
132
133<sect2><title>Description</title>
134
135<sect3><title>fc-cache</title>
136<para><command>fc-cache</command> is a command to create font information
137caches.</para></sect3>
138
139<sect3><title>fc-list</title>
140<para><command>fc-list</command> is a command to list fonts.</para></sect3>
141
142</sect2>
143
144</sect1>
Note: See TracBrowser for help on using the repository browser.