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 |
|
---|
15 | <sect1 id="fontconfig" xreflabel="Fontconfig-&fontconfig-version;">
|
---|
16 | <sect1info>
|
---|
17 | <othername>$LastChangedBy$</othername>
|
---|
18 | <date>$Date$</date>
|
---|
19 | </sect1info>
|
---|
20 | <?dbhtml filename="fontconfig.html"?>
|
---|
21 | <title>Fontconfig-&fontconfig-version;</title>
|
---|
22 |
|
---|
23 | <sect2>
|
---|
24 | <title>Introduction to <application>Fontconfig</application></title>
|
---|
25 |
|
---|
26 | <para>The <application>Fontconfig</application> package is a library
|
---|
27 | for configuring and customizing font access.</para>
|
---|
28 |
|
---|
29 | <sect3><title>Package information</title>
|
---|
30 | <itemizedlist spacing='compact'>
|
---|
31 | <listitem><para>Download (HTTP): <ulink
|
---|
32 | url="&fontconfig-download-http;"/></para></listitem>
|
---|
33 | <listitem><para>Download (FTP): <ulink
|
---|
34 | url="&fontconfig-download-ftp;"/></para></listitem>
|
---|
35 | <listitem><para>Download size: &fontconfig-size;</para></listitem>
|
---|
36 | <listitem><para>Estimated Disk space required:
|
---|
37 | &fontconfig-buildsize;</para></listitem>
|
---|
38 | <listitem><para>Estimated build time:
|
---|
39 | &fontconfig-time;</para></listitem></itemizedlist>
|
---|
40 |
|
---|
41 | <note><para>The numbering system of <application>Fontconfig</application> is
|
---|
42 | unusual. The beta versions of the package are numbered with a 9x in the last
|
---|
43 | portion of the release number. This means that 2.2.96 is a beta release and
|
---|
44 | the most current release is of the form 2.2.3</para></note>
|
---|
45 |
|
---|
46 | </sect3>
|
---|
47 |
|
---|
48 | <sect3><title><application>Fontconfig</application> dependencies</title>
|
---|
49 | <sect4><title>Required</title>
|
---|
50 | <para><xref linkend="freetype2"/> and <xref linkend="expat"/></para></sect4>
|
---|
51 | <sect4><title>Optional</title>
|
---|
52 | <para>
|
---|
53 | <xref linkend="docbook-utils"/>
|
---|
54 | </para></sect4>
|
---|
55 | </sect3>
|
---|
56 |
|
---|
57 | </sect2>
|
---|
58 |
|
---|
59 | <sect2>
|
---|
60 | <title>Installation of <application>Fontconfig</application></title>
|
---|
61 |
|
---|
62 | <para>Install <application>Fontconfig</application> by running the following
|
---|
63 | commands:</para>
|
---|
64 |
|
---|
65 | <screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
66 | make &&
|
---|
67 | make install</command></userinput></screen>
|
---|
68 | </sect2>
|
---|
69 |
|
---|
70 | <sect2>
|
---|
71 | <title>Configuring <application>Fontconfig</application></title>
|
---|
72 |
|
---|
73 | <sect3><title>Config files</title>
|
---|
74 | <para><filename>/etc/fonts/*</filename></para>
|
---|
75 | </sect3>
|
---|
76 |
|
---|
77 | <sect3><title>Configuration Information</title>
|
---|
78 |
|
---|
79 | <para>The configuration file for <application>Fontconfig</application> is
|
---|
80 | <filename>/etc/fonts/fonts.conf</filename>. Generally you do not want to edit
|
---|
81 | this file. To put a new font directory in the configuration, update the
|
---|
82 | <filename>/etc/fonts/local.conf</filename> file with your local information.
|
---|
83 | The default location of fonts in <application>Fontconfig</application> is:
|
---|
84 | </para>
|
---|
85 |
|
---|
86 | <itemizedlist spacing='compact'>
|
---|
87 | <listitem><para>/usr/share/fonts</para></listitem>
|
---|
88 | <listitem><para>~/.fonts</para></listitem>
|
---|
89 | </itemizedlist>
|
---|
90 |
|
---|
91 | <note><para><application>X</application> also includes an internal (and
|
---|
92 | older) version of <application>Fontconfig</application> and unless it is
|
---|
93 | explicitly disabled when building <application>XFree86</application>, the
|
---|
94 | internal version is created leaving two slightly incompatible libraries on
|
---|
95 | your system. It is recommended that you only install one version.</para></note>
|
---|
96 |
|
---|
97 | </sect3>
|
---|
98 |
|
---|
99 | </sect2>
|
---|
100 |
|
---|
101 | <sect2>
|
---|
102 | <title>Contents</title>
|
---|
103 |
|
---|
104 | <para>The <application>Fontconfig</application> package contains the
|
---|
105 | <filename class='libraryfile'>libfontconfig</filename> library,
|
---|
106 | <command>fc-cache</command>, and <command>fc-list</command>.</para>
|
---|
107 |
|
---|
108 | </sect2>
|
---|
109 |
|
---|
110 | <sect2><title>Description</title>
|
---|
111 |
|
---|
112 | <sect3><title>fc-cache</title>
|
---|
113 | <para><command>fc-cache</command> is a command to create font information
|
---|
114 | caches.</para></sect3>
|
---|
115 |
|
---|
116 | <sect3><title>fc-list</title>
|
---|
117 | <para><command>fc-list</command> is a command to list fonts.</para></sect3>
|
---|
118 |
|
---|
119 | </sect2>
|
---|
120 |
|
---|
121 | </sect1>
|
---|