This manual page is for Mac OS X version 10.6

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



FC-CACHE(1)                                                                                      FC-CACHE(1)



NAME
       fc-cache - build font information cache files

SYNOPSIS
       fc-cache [ -fsvV? ] [ --force ] [ --system-only ] [ --verbose ] [ --version ] [ --help ] [ dirs ]


DESCRIPTION
       fc-cache  scans the font directories on the system and builds font information cache files for appli-cations applications
       cations using fontconfig for their font handling.

       If directory arguments are not given, fc-cache 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.

       Note that fc-cache must be executed once per architecture to generate font information customized for
       that architecture.  On a subsequent run, fc-cache will augment the cache information files  with  the
       information for the new architecture.

OPTIONS
       This  program  follows  the usual GNU command line syntax, with long options starting with two dashes
       (`-').  A summary of options is included below.

       -f --force
              Force re-generation of apparently up-to-date cache files, overriding the timestamp checking.

       -s --system-only
              Only scan system-wide directories, omitting the places located in the user's home directory.

       -v --verbose
              Display status information while busy.

       -? --help
              Show summary of options.

       -V --version
              Show version of the program and exit.

       dirs   A list of directories to scan for fonts.

FILES
       fonts.cache-2
              These files are generated by fc-cache and contain maps from file  names  to  font  properties.
              They are read by the fontconfig library at application startup to locate appropriate fonts.

SEE ALSO
       fc-list (1).

       The fontconfig user's guide, in HTML format: /usr/share/doc/fontconfig/fontconfig-user.html.

AUTHOR
       This   manual   page   was   written  by  Keith  Packard  <[email protected]>  and  Josselin  Mouette
       <[email protected]>.



                                                 05 May 2008                                     FC-CACHE(1)

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation with the feedback links below.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.