131 lines
4.1 KiB
HTML
131 lines
4.1 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of FC-CACHE</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>FC-CACHE</H1>
|
|
Section: (1)<BR>Updated: Aug 13, 2008<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
fc-cache - build font information cache files
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<P>
|
|
<B>fc-cache</B> [ <B>-EfrsvVh</B> ] [ <B>--error-on-no-fonts</B> ] [ <B>--force</B> ] [ <B>--really-force</B> ] [ <B> [ -y </B><I>dir</I><B> ] [ --sysroot </B><I>dir</I><B> ] </B> ] [ <B>--system-only</B> ] [ <B>--verbose</B> ] [ <B>--version</B> ] [ <B>--help</B> ] [ <B></B><I>dir</I><B></B><I>...</I> ]
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<P>
|
|
|
|
<B>fc-cache</B> scans the font directories on
|
|
the system and builds font information cache files for
|
|
applications using fontconfig for their font handling.
|
|
<P>
|
|
|
|
If directory arguments are not given,
|
|
<B>fc-cache</B> uses each directory in the
|
|
current font configuration. Each directory is scanned for
|
|
font files readable by FreeType. A cache is created which
|
|
contains properties of each font and the associated filename.
|
|
This cache is used to speed up application startup when using
|
|
the fontconfig library.
|
|
<P>
|
|
|
|
Note that <B>fc-cache</B> must be executed
|
|
once per architecture to generate font information customized
|
|
for that architecture.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<P>
|
|
|
|
This program follows the usual GNU command line syntax,
|
|
with long options starting with two dashes (`-'). A summary of
|
|
options is included below.
|
|
<DL COMPACT>
|
|
<DT id="1"><B>-E</B><DD>
|
|
Raise an error if there are no fonts in
|
|
<B></B><I>dir</I><B></B> or directories
|
|
in the configuration if not given.
|
|
<DT id="2"><B>-f</B><DD>
|
|
Force re-generation of apparently up-to-date cache files,
|
|
overriding the timestamp checking.
|
|
<DT id="3"><B>-r</B><DD>
|
|
Erase all existing cache files and rescan.
|
|
<DT id="4"><B>-s</B><DD>
|
|
Only scan system-wide directories, omitting the places
|
|
located in the user's home directory.
|
|
<DT id="5"><B>-v</B><DD>
|
|
Display status information while busy.
|
|
<DT id="6"><B>-y</B><DD>
|
|
Prepend <B></B><I>dir</I><B></B> to all paths for scanning.
|
|
<DT id="7"><B>-h</B><DD>
|
|
Show summary of options.
|
|
<DT id="8"><B>-V</B><DD>
|
|
Show version of the program and exit.
|
|
<DT id="9"><B></B><I>dir</I><B></B><DD>
|
|
Directory to scan for fonts.
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>RETURN CODES</H2>
|
|
|
|
<P>
|
|
|
|
<B>fc-cache</B> returns zero if the caches successfully generated. otherwise non-zero.
|
|
<A NAME="lbAG"> </A>
|
|
<H2>FILES</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="10"><B></B><I>%cachedir%/*-%arch%.cache-%version%</I><B></B><DD>
|
|
These files are generated by <B>fc-cache</B>
|
|
and contain maps from file names to font properties. They are
|
|
read by the fontconfig library at application startup to locate
|
|
appropriate fonts.
|
|
</DL>
|
|
<A NAME="lbAH"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<P>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+fc-cat">fc-cat</A></B>(1)
|
|
<B><A HREF="/cgi-bin/man/man2html?1+fc-list">fc-list</A></B>(1)
|
|
<B><A HREF="/cgi-bin/man/man2html?1+fc-match">fc-match</A></B>(1)
|
|
<B><A HREF="/cgi-bin/man/man2html?1+fc-pattern">fc-pattern</A></B>(1)
|
|
<B><A HREF="/cgi-bin/man/man2html?1+fc-query">fc-query</A></B>(1)
|
|
<B><A HREF="/cgi-bin/man/man2html?1+fc-scan">fc-scan</A></B>(1)
|
|
<P>
|
|
|
|
The fontconfig user's guide, in HTML format:
|
|
<I>/usr/share/doc/fontconfig/fontconfig-user.html</I>.
|
|
<A NAME="lbAI"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
<P>
|
|
|
|
This manual page was written by Keith Packard
|
|
<<A HREF="mailto:keithp@keithp.com">keithp@keithp.com</A>> and Josselin Mouette <<A HREF="mailto:joss@debian.org">joss@debian.org</A>>.
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="11"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="12"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="13"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="14"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="15"><A HREF="#lbAF">RETURN CODES</A><DD>
|
|
<DT id="16"><A HREF="#lbAG">FILES</A><DD>
|
|
<DT id="17"><A HREF="#lbAH">SEE ALSO</A><DD>
|
|
<DT id="18"><A HREF="#lbAI">AUTHOR</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:12 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|