man pages section 1: User Commands

Exit Print View

Updated: July 2014
 
 

fc-cache (1)

Name

fc-cache - build font information cache files

Synopsis

fc-cache  [  -fsvVh  ]   [  --force  ]  [ --system-only ]  [
--verbose ]  [ --version ]  [ --help ]  [ dir... ]

Description




User Commands                                         FC-CACHE(1)



NAME
     fc-cache - build font information cache files

SYNOPSIS
     fc-cache  [  -fsvVh  ]   [  --force  ]  [ --system-only ]  [
     --verbose ]  [ --version ]  [ --help ]  [ dir... ]

DESCRIPTION
     fc-cache scans the font directories on the system and builds
     font information cache files for applications using fontcon-
     fig 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 asso-
     ciated 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.

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  re-generation  of  apparently  up-to-date  cache
          files, overriding the timestamp checking.

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

     -v   Display status information while busy.

     -h   Show summary of options.

     -V   Show version of the program and exit.

     dir  Directory to scan for fonts.

FILES
     %cachdir%/*-%arch%.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-cat(1) fc-list(1) fc-match(1) fc-query(1) fc-scan(1)





SunOS 5.11          Last change: Aug 13, 2008                   1






User Commands                                         FC-CACHE(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 <keithp@kei-
     thp.com> and Josselin Mouette <joss@debian.org>.


ATTRIBUTES
     See  attributes(5)  for  descriptions   of   the   following
     attributes:

     +-----------------------------+-----------------------------+
     |      ATTRIBUTE TYPE         |      ATTRIBUTE VALUE        |
     +-----------------------------+-----------------------------+
     |Availability                 |system/library/fontconfig    |
     +-----------------------------+-----------------------------+
     |Interface Stability          |Volatile                     |
     +-----------------------------+-----------------------------+

NOTES
     fc-cache  is run automatically at system boot to ensure font
     caches are up to date via the  fc-cache  service.   The  fc-
     cache service is managed by the service management facility,
     smf(5), under the service identifier:

     svc:/application/font/fc-cache

     Administrative actions on this service,  such  as  enabling,
     disabling,  or  requesting  restart,  can be performed using
     svcadm(1M).  The service's status can be queried  using  the
     svcs(1) command.























SunOS 5.11          Last change: Aug 13, 2008                   2