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