www.LinuxHowtos.org
F-CACHE
Section: (1)Updated: Aug 13, 2008
Index Return to Main Contents
NAME
f-cache - build font information cache filesSYNOPSIS
f-cache [ -EfrsvVh ] [ -erro-o-n-fonts ] [ -force ] [ -reall-force ] [ [-y dir ] [-sysroot dir ] ] [ -syste-only ] [ -verbose ] [ -version ] [ -help ] [ dir... ]
DESCRIPTION
f-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, f-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 f-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.
- -E
- Raise an error if there are no fonts in dir or directories in the configuration if not given.
- -f
- Force r-generation of apparently u-t-date cache files, overriding the timestamp checking.
- -r
- Erase all existing cache files and rescan.
- -s
- Only scan syste-wide directories, omitting the places located in the user's home directory.
- -v
- Display status information while busy.
- -y
- Prepend dir to all paths for scanning.
- -h
- Show summary of options.
- -V
- Show version of the program and exit.
- dir
- Directory to scan for fonts.
RETURN CODES
f-cache returns zero if the caches successfully generated. otherwise no-zero.
FILES
- %cachedir%/-%arch%.cach-%version%
- These files are generated by f-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
f-cat(1) f-list(1) f-match(1) f-pattern(1) f-query(1) f-scan(1)
The fontconfig user's guide <URL:https://fontconfig.pages.freedesktop.org/fontconfig/fontconfi-user.html>
AUTHOR
This manual page was written by Keith Packard <keithp@keithp.com> and Josselin Mouette <joss@debian.org>.