fc-scan(1)

fc-scan1

Scan font files or directories

Usage

fc-scan [-Vh] [{-f format | --format format}] [--version] [--help] file ...

Overview

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

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 format

Format output according to the format specifier format.

-V --version

Show version of the program and exit.

-h --help

Show summary of options.

file

Scan file recursively for font faces.

Return codes

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

Releases

9 releases since Debian 6.0 (Squeeze); the text changed 3 times.

  1. 6.0
  2. 7
  3. 8–13
  4. Arch

--format since Arch Linux 2026-11-01; --help since Arch Linux 2026-11-01; --version since Arch Linux 2026-11-01.

Author

This manual page was updated by Behdad Esfahbod <[email protected]>.

From fontconfig 2:2.18.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.