1. NAME

fc-scan - scan font files or directories

2. SYNOPSIS



fc-scan [ -Vh ] [ \fB [ -f format\fB ] [ --format \fIformat\fB ] ] [ --version ] [ --help ] \fBfile\fB...

3. DESCRIPTION

fc-scan scans file(s) recursively and prints out font pattern for each face found.

4. 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
        Format output according to the format specifier format.
  • -V
        Show version of the program and exit.
  • -h
        Show summary of options.
  • \fBfile\fB
        Scan file recursively for font faces.

5. RETURN CODES

fc-scan returns error code 0 if at least one font was found or 1 otherwise.

6. SEE ALSO

fc-query(1) FcFileScan(3) FcDirScan(3) FcPatternFormat(3) fc-cat(1) fc-cache(1) fc-list(1) fc-match(1)

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

7. AUTHOR

This manual page was updated by Behdad Esfahbod <>.