fc-cache.sgml revision 2c393a42
12c393a42Smrg<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
22c393a42Smrg
32c393a42Smrg<!-- Process this file with docbook-to-man to generate an nroff manual
42c393a42Smrg     page: `docbook-to-man manpage.sgml > manpage.1'.  You may view
52c393a42Smrg     the manual page with: `docbook-to-man manpage.sgml | nroff -man |
62c393a42Smrg     less'.  A typical entry in a Makefile or Makefile.am is:
72c393a42Smrg
82c393a42Smrgmanpage.1: manpage.sgml
92c393a42Smrg	docbook-to-man $< > $@
102c393a42Smrg
112c393a42Smrg    
122c393a42Smrg	The docbook-to-man binary is found in the docbook-to-man package.
132c393a42Smrg	Please remember that if you create the nroff version in one of the
142c393a42Smrg	debian/rules file targets (such as build), you will need to include
152c393a42Smrg	docbook-to-man in your Build-Depends control field.
162c393a42Smrg
172c393a42Smrg  -->
182c393a42Smrg
192c393a42Smrg  <!-- Fill in your name for FIRSTNAME and SURNAME. -->
202c393a42Smrg  <!ENTITY dhfirstname "<firstname>Josselin</firstname>">
212c393a42Smrg  <!ENTITY dhsurname   "<surname>Mouette</surname>">
222c393a42Smrg  <!-- Please adjust the date whenever revising the manpage. -->
232c393a42Smrg  <!ENTITY dhdate      "<date>Sep 22, 2005</date>">
242c393a42Smrg  <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
252c393a42Smrg       allowed: see man(7), man(1). -->
262c393a42Smrg  <!ENTITY dhsection   "<manvolnum>1</manvolnum>">
272c393a42Smrg  <!ENTITY dhemail     "<email>joss@debian.org</email>">
282c393a42Smrg  <!ENTITY dhusername  "Josselin Mouette">
292c393a42Smrg  <!ENTITY dhucpackage "<refentrytitle>fc-cache</refentrytitle>">
302c393a42Smrg  <!ENTITY dhpackage   "fc-cache">
312c393a42Smrg
322c393a42Smrg  <!ENTITY debian      "<productname>Debian</productname>">
332c393a42Smrg  <!ENTITY gnu         "<acronym>GNU</acronym>">
342c393a42Smrg  <!ENTITY gpl         "&gnu; <acronym>GPL</acronym>">
352c393a42Smrg]>
362c393a42Smrg
372c393a42Smrg<refentry>
382c393a42Smrg  <refentryinfo>
392c393a42Smrg    <address>
402c393a42Smrg      &dhemail;
412c393a42Smrg    </address>
422c393a42Smrg    <author>
432c393a42Smrg      &dhfirstname;
442c393a42Smrg      &dhsurname;
452c393a42Smrg    </author>
462c393a42Smrg    <copyright>
472c393a42Smrg      <year>2003</year>
482c393a42Smrg      <holder>&dhusername;</holder>
492c393a42Smrg    </copyright>
502c393a42Smrg    &dhdate;
512c393a42Smrg  </refentryinfo>
522c393a42Smrg  <refmeta>
532c393a42Smrg    &dhucpackage;
542c393a42Smrg
552c393a42Smrg    &dhsection;
562c393a42Smrg  </refmeta>
572c393a42Smrg  <refnamediv>
582c393a42Smrg    <refname>&dhpackage;</refname>
592c393a42Smrg
602c393a42Smrg    <refpurpose>build font information cache files</refpurpose>
612c393a42Smrg  </refnamediv>
622c393a42Smrg  <refsynopsisdiv>
632c393a42Smrg    <cmdsynopsis>
642c393a42Smrg      <command>&dhpackage;</command>
652c393a42Smrg
662c393a42Smrg      <arg><option>-fsvV?</option></arg>
672c393a42Smrg      <arg><option>--force</option></arg>
682c393a42Smrg      <arg><option>--system-only</option></arg>
692c393a42Smrg      <arg><option>--verbose</option></arg>
702c393a42Smrg      <arg><option>--version</option></arg>
712c393a42Smrg      <arg><option>--help</option></arg>
722c393a42Smrg      <arg><option><replaceable>dirs</replaceable></option></arg>
732c393a42Smrg      
742c393a42Smrg     </cmdsynopsis>
752c393a42Smrg  </refsynopsisdiv>
762c393a42Smrg  <refsect1>
772c393a42Smrg    <title>DESCRIPTION</title>
782c393a42Smrg
792c393a42Smrg      <para><command>&dhpackage;</command> scans the font directories on
802c393a42Smrg        the system and builds font information cache files for
812c393a42Smrg        applications using fontconfig for their font handling.</para>
822c393a42Smrg
832c393a42Smrg      <para>If directory arguments are not given,
842c393a42Smrg        <command>&dhpackage;</command> uses each directory in the
852c393a42Smrg        current font configuration. Each directory is scanned for
862c393a42Smrg        font files readable by FreeType.  A cache is created which
872c393a42Smrg        contains properties of each font and the associated filename.
882c393a42Smrg        This cache is used to speed up application startup when using
892c393a42Smrg        the fontconfig library.</para>
902c393a42Smrg
912c393a42Smrg      <para>Note that <command>&dhpackage;</command> must be executed
922c393a42Smrg        once per architecture to generate font information customized
932c393a42Smrg        for that architecture.  On a subsequent run,
942c393a42Smrg        <command>&dhpackage;</command> will augment the cache
952c393a42Smrg        information files with the information for the new
962c393a42Smrg        architecture. </para>
972c393a42Smrg
982c393a42Smrg  </refsect1>
992c393a42Smrg  <refsect1>
1002c393a42Smrg    <title>OPTIONS</title>
1012c393a42Smrg
1022c393a42Smrg    <para>This program follows the usual &gnu; command line syntax,
1032c393a42Smrg      with long options starting with two dashes (`-').  A summary of
1042c393a42Smrg      options is included below.</para>
1052c393a42Smrg
1062c393a42Smrg    <variablelist>
1072c393a42Smrg      <varlistentry>
1082c393a42Smrg        <term><option>-f</option>
1092c393a42Smrg          <option>--force</option>
1102c393a42Smrg        </term>
1112c393a42Smrg        <listitem>
1122c393a42Smrg          <para>Force re-generation of apparently up-to-date cache files,
1132c393a42Smrg            overriding the timestamp checking.</para>
1142c393a42Smrg        </listitem>
1152c393a42Smrg      </varlistentry>
1162c393a42Smrg      <varlistentry>
1172c393a42Smrg        <term><option>-s</option>
1182c393a42Smrg          <option>--system-only</option>
1192c393a42Smrg        </term>
1202c393a42Smrg        <listitem>
1212c393a42Smrg          <para>Only scan system-wide directories, omitting the places
1222c393a42Smrg            located in the user's home directory.</para>
1232c393a42Smrg        </listitem>
1242c393a42Smrg      </varlistentry>
1252c393a42Smrg      <varlistentry>
1262c393a42Smrg        <term><option>-v</option>
1272c393a42Smrg          <option>--verbose</option>
1282c393a42Smrg        </term>
1292c393a42Smrg        <listitem>
1302c393a42Smrg          <para>Display status information while busy.</para>
1312c393a42Smrg        </listitem>
1322c393a42Smrg      </varlistentry>
1332c393a42Smrg      <varlistentry>
1342c393a42Smrg        <term><option>-?</option>
1352c393a42Smrg          <option>--help</option>
1362c393a42Smrg        </term>
1372c393a42Smrg        <listitem>
1382c393a42Smrg          <para>Show summary of options.</para>
1392c393a42Smrg        </listitem>
1402c393a42Smrg      </varlistentry>
1412c393a42Smrg      <varlistentry>
1422c393a42Smrg        <term><option>-V</option>
1432c393a42Smrg          <option>--version</option>
1442c393a42Smrg        </term>
1452c393a42Smrg        <listitem>
1462c393a42Smrg          <para>Show version of the program and exit.</para>
1472c393a42Smrg        </listitem>
1482c393a42Smrg      </varlistentry>
1492c393a42Smrg      <varlistentry>
1502c393a42Smrg        <term><option><replaceable>dirs</replaceable></option>
1512c393a42Smrg        </term>
1522c393a42Smrg        <listitem>
1532c393a42Smrg          <para>A list of directories to scan for fonts.</para>
1542c393a42Smrg        </listitem>
1552c393a42Smrg      </varlistentry>
1562c393a42Smrg    </variablelist>
1572c393a42Smrg  </refsect1>
1582c393a42Smrg
1592c393a42Smrg  <refsect1>
1602c393a42Smrg    <title>FILES</title>
1612c393a42Smrg    <variablelist>
1622c393a42Smrg      <varlistentry>
1632c393a42Smrg        <term><filename>fonts.cache-2</filename></term>
1642c393a42Smrg	<listitem>
1652c393a42Smrg	  <para>These files are generated by <command>&dhpackage;</command>
1662c393a42Smrg            and contain maps from file names to font properties. They are
1672c393a42Smrg            read by the fontconfig library at application startup to locate
1682c393a42Smrg            appropriate fonts.</para>
1692c393a42Smrg	</listitem>
1702c393a42Smrg      </varlistentry>
1712c393a42Smrg    </variablelist>
1722c393a42Smrg  </refsect1>
1732c393a42Smrg
1742c393a42Smrg  <refsect1>
1752c393a42Smrg    <title>SEE ALSO</title>
1762c393a42Smrg
1772c393a42Smrg    <para><command>fc-list</command> (1).</para>
1782c393a42Smrg
1792c393a42Smrg    <para>The fontconfig user's guide, in HTML format:
1802c393a42Smrg      <filename>/usr/share/doc/fontconfig/fontconfig-user.html</filename>.</para>
1812c393a42Smrg
1822c393a42Smrg </refsect1>
1832c393a42Smrg  <refsect1>
1842c393a42Smrg    <title>AUTHOR</title>
1852c393a42Smrg
1862c393a42Smrg    <para>This manual page was written by Keith Packard
1872c393a42Smrg      <email>keithp@keithp.com</email> and &dhusername; &dhemail;.</para>
1882c393a42Smrg
1892c393a42Smrg  </refsect1>
1902c393a42Smrg</refentry>
1912c393a42Smrg
1922c393a42Smrg<!-- Keep this comment at the end of the file
1932c393a42SmrgLocal variables:
1942c393a42Smrgmode: sgml
1952c393a42Smrgsgml-omittag:t
1962c393a42Smrgsgml-shorttag:t
1972c393a42Smrgsgml-minimize-attributes:nil
1982c393a42Smrgsgml-always-quote-attributes:t
1992c393a42Smrgsgml-indent-step:2
2002c393a42Smrgsgml-indent-data:t
2012c393a42Smrgsgml-parent-document:nil
2022c393a42Smrgsgml-default-dtd-file:nil
2032c393a42Smrgsgml-exposed-tags:nil
2042c393a42Smrgsgml-local-catalogs:nil
2052c393a42Smrgsgml-local-ecat-files:nil
2062c393a42SmrgEnd:
2072c393a42Smrg-->
208