fc-cache.sgml revision ca08ab68
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. --> 23a6844aabSmrg <!ENTITY dhdate "<date>Aug 13, 2008</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 66ca08ab68Smrg <arg><option>-frsvVh</option></arg> 672c393a42Smrg <arg><option>--force</option></arg> 68ca08ab68Smrg <arg><option>--really-force</option></arg> 692c393a42Smrg <arg><option>--system-only</option></arg> 702c393a42Smrg <arg><option>--verbose</option></arg> 712c393a42Smrg <arg><option>--version</option></arg> 722c393a42Smrg <arg><option>--help</option></arg> 73a6844aabSmrg <arg rep="repeat"><option><replaceable>dir</replaceable></option></arg> 742c393a42Smrg 752c393a42Smrg </cmdsynopsis> 762c393a42Smrg </refsynopsisdiv> 772c393a42Smrg <refsect1> 782c393a42Smrg <title>DESCRIPTION</title> 792c393a42Smrg 802c393a42Smrg <para><command>&dhpackage;</command> scans the font directories on 812c393a42Smrg the system and builds font information cache files for 822c393a42Smrg applications using fontconfig for their font handling.</para> 832c393a42Smrg 842c393a42Smrg <para>If directory arguments are not given, 852c393a42Smrg <command>&dhpackage;</command> uses each directory in the 862c393a42Smrg current font configuration. Each directory is scanned for 872c393a42Smrg font files readable by FreeType. A cache is created which 882c393a42Smrg contains properties of each font and the associated filename. 892c393a42Smrg This cache is used to speed up application startup when using 902c393a42Smrg the fontconfig library.</para> 912c393a42Smrg 922c393a42Smrg <para>Note that <command>&dhpackage;</command> must be executed 932c393a42Smrg once per architecture to generate font information customized 94a6844aabSmrg for that architecture.</para> 952c393a42Smrg 962c393a42Smrg </refsect1> 972c393a42Smrg <refsect1> 982c393a42Smrg <title>OPTIONS</title> 992c393a42Smrg 1002c393a42Smrg <para>This program follows the usual &gnu; command line syntax, 1012c393a42Smrg with long options starting with two dashes (`-'). A summary of 1022c393a42Smrg options is included below.</para> 1032c393a42Smrg 1042c393a42Smrg <variablelist> 1052c393a42Smrg <varlistentry> 1062c393a42Smrg <term><option>-f</option> 1072c393a42Smrg <option>--force</option> 1082c393a42Smrg </term> 1092c393a42Smrg <listitem> 1102c393a42Smrg <para>Force re-generation of apparently up-to-date cache files, 1112c393a42Smrg overriding the timestamp checking.</para> 1122c393a42Smrg </listitem> 1132c393a42Smrg </varlistentry> 114ca08ab68Smrg <varlistentry> 115ca08ab68Smrg <term><option>-r</option> 116ca08ab68Smrg <option>--really-force</option> 117ca08ab68Smrg </term> 118ca08ab68Smrg <listitem> 119ca08ab68Smrg <para>Erase all existing cache files and rescan.</para> 120ca08ab68Smrg </listitem> 121ca08ab68Smrg </varlistentry> 1222c393a42Smrg <varlistentry> 1232c393a42Smrg <term><option>-s</option> 1242c393a42Smrg <option>--system-only</option> 1252c393a42Smrg </term> 1262c393a42Smrg <listitem> 1272c393a42Smrg <para>Only scan system-wide directories, omitting the places 1282c393a42Smrg located in the user's home directory.</para> 1292c393a42Smrg </listitem> 1302c393a42Smrg </varlistentry> 1312c393a42Smrg <varlistentry> 1322c393a42Smrg <term><option>-v</option> 1332c393a42Smrg <option>--verbose</option> 1342c393a42Smrg </term> 1352c393a42Smrg <listitem> 1362c393a42Smrg <para>Display status information while busy.</para> 1372c393a42Smrg </listitem> 1382c393a42Smrg </varlistentry> 1392c393a42Smrg <varlistentry> 140a6844aabSmrg <term><option>-h</option> 1412c393a42Smrg <option>--help</option> 1422c393a42Smrg </term> 1432c393a42Smrg <listitem> 1442c393a42Smrg <para>Show summary of options.</para> 1452c393a42Smrg </listitem> 1462c393a42Smrg </varlistentry> 1472c393a42Smrg <varlistentry> 1482c393a42Smrg <term><option>-V</option> 1492c393a42Smrg <option>--version</option> 1502c393a42Smrg </term> 1512c393a42Smrg <listitem> 1522c393a42Smrg <para>Show version of the program and exit.</para> 1532c393a42Smrg </listitem> 1542c393a42Smrg </varlistentry> 1552c393a42Smrg <varlistentry> 156a6844aabSmrg <term><option><replaceable>dir</replaceable></option> 1572c393a42Smrg </term> 1582c393a42Smrg <listitem> 159a6844aabSmrg <para>Directory to scan for fonts.</para> 1602c393a42Smrg </listitem> 1612c393a42Smrg </varlistentry> 1622c393a42Smrg </variablelist> 1632c393a42Smrg </refsect1> 1642c393a42Smrg 1652c393a42Smrg <refsect1> 1662c393a42Smrg <title>FILES</title> 1672c393a42Smrg <variablelist> 1682c393a42Smrg <varlistentry> 169a6844aabSmrg <term><filename><replaceable>%cachdir%</replaceable>/*-<replaceable>%arch%</replaceable>.cache-2</filename></term> 1702c393a42Smrg <listitem> 1712c393a42Smrg <para>These files are generated by <command>&dhpackage;</command> 1722c393a42Smrg and contain maps from file names to font properties. They are 1732c393a42Smrg read by the fontconfig library at application startup to locate 1742c393a42Smrg appropriate fonts.</para> 1752c393a42Smrg </listitem> 1762c393a42Smrg </varlistentry> 1772c393a42Smrg </variablelist> 1782c393a42Smrg </refsect1> 1792c393a42Smrg 1802c393a42Smrg <refsect1> 1812c393a42Smrg <title>SEE ALSO</title> 1822c393a42Smrg 183a6844aabSmrg <para> 184a6844aabSmrg <command>fc-cat</command>(1) 185a6844aabSmrg <command>fc-list</command>(1) 186a6844aabSmrg <command>fc-match</command>(1) 187ca08ab68Smrg <command>fc-pattern</command>(1) 188a6844aabSmrg <command>fc-query</command>(1) 189a6844aabSmrg <command>fc-scan</command>(1) 190a6844aabSmrg </para> 1912c393a42Smrg 1922c393a42Smrg <para>The fontconfig user's guide, in HTML format: 1932c393a42Smrg <filename>/usr/share/doc/fontconfig/fontconfig-user.html</filename>.</para> 1942c393a42Smrg 1952c393a42Smrg </refsect1> 1962c393a42Smrg <refsect1> 1972c393a42Smrg <title>AUTHOR</title> 1982c393a42Smrg 1992c393a42Smrg <para>This manual page was written by Keith Packard 2002c393a42Smrg <email>keithp@keithp.com</email> and &dhusername; &dhemail;.</para> 2012c393a42Smrg 2022c393a42Smrg </refsect1> 2032c393a42Smrg</refentry> 2042c393a42Smrg 2052c393a42Smrg<!-- Keep this comment at the end of the file 2062c393a42SmrgLocal variables: 2072c393a42Smrgmode: sgml 2082c393a42Smrgsgml-omittag:t 2092c393a42Smrgsgml-shorttag:t 2102c393a42Smrgsgml-minimize-attributes:nil 2112c393a42Smrgsgml-always-quote-attributes:t 2122c393a42Smrgsgml-indent-step:2 2132c393a42Smrgsgml-indent-data:t 2142c393a42Smrgsgml-parent-document:nil 2152c393a42Smrgsgml-default-dtd-file:nil 2162c393a42Smrgsgml-exposed-tags:nil 2172c393a42Smrgsgml-local-catalogs:nil 2182c393a42Smrgsgml-local-ecat-files:nil 2192c393a42SmrgEnd: 2202c393a42Smrg--> 221