fc-scan
scan font files and directories
TLDR
Scan directory for fonts
SYNOPSIS
fc-scan [options] [files...]
DESCRIPTION
fc-scan scans font files and directories, displaying font information in fontconfig format. Unlike fc-query which examines single files, fc-scan can process directories and multiple files.
The tool outputs font patterns that fontconfig uses for font matching. Custom format strings extract specific properties. Recursive mode scans entire font directory trees.
fc-scan is useful for inventorying fonts, finding duplicates, or generating font lists for documentation.
PARAMETERS
FILES
Font files or directories to scan.--format FORMAT
Output format string.-r, --recurse
Recursively scan directories.-v, --verbose
Verbose output.--help
Display help information.
CAVEATS
Does not update system font cache. Large directories may take time. Format string syntax can be complex.
HISTORY
fc-scan is part of fontconfig, providing batch font scanning capabilities. It complements fc-query for examining fonts without affecting the system font configuration.
