--> . -->


MAN Solaris - FC-CACHE (1)

advertisement


NAME

fc-cache - build font information cache files

CONTENTS

Synopsis
Attributes

SYNOPSIS

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

advertisements

advertisements


DESCRIPTION

fc-cache scans the font directories on the system and builds font information cache files for applications 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]>.

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.

ATTRIBUTES

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

ATTRIBUTE TYPEATTRIBUTE VALUE
AvailabilitySUNWfontconfig
Interface StabilityVolatile
Jump to page    or go to Top of page |  Section 1 |  Main Solaris Index.


SunOS 5.10 FC-CACHE (1) 04 November 2007
Generated by Open Solaris Forum from /usr/share/man/man1/fc-cache.1 using man macros with tbl support.