man > FC-SCAN

⚡ TLDR: FC-SCAN (tldr-pages)

Scan font files or directories and print pattern information for each face found.

  • Scan a font file
    fc-scan {{path/to/font_file}}
  • Scan a directory of fonts recursively
    fc-scan {{path/to/directory}}
  • Scan multiple files or directories
    fc-scan {{path/to/font1.ttf path/to/font2.otf ...}}
  • Print results without including font sizes
    fc-scan {{-b|--brief}} {{path/to/font_file}}
  • Print results using a custom output format
    fc-scan {{-f|--format}} "{{%{family}\n}}" {{path/to/font_file}}
  • Display help
    fc-scan {{-h|--help}}
  • Display version
    fc-scan {{-V|--version}}
FC-SCAN(1)                                                                                FC-SCAN(1)

NAME
       fc-scan - scan font files or directories

SYNOPSIS
       fc-scan [ -Vh ]

        [  [ -f format ]  [ --format format ]  ]  [ --version ]  [ --help ]  file...

DESCRIPTION
       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 output according to the format specifier format.

       -V     Show version of the program and exit.

       -h     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.

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

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

AUTHOR
       This manual page was updated by Behdad Esfahbod <behdad AT behdad.org>.

                                            Jan 15, 2009                                  FC-SCAN(1)

Generated by phpman v4.11.2-50-g2870e58 · Markdown · JSON Author: Che Dong Under GNU General Public License
2026-10-12 17:46 @2600:1f28:365:80b0:97f7:bcae:b24c:a081
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 Transitional!Valid CSS!