man > fc-scan(1)

📛 NAME

fc-scan - scan font files or directories

🚀 Quick Reference

Use Case Command Description
🔍 Scan a single font file fc-scan /path/to/font.ttf Display font pattern for the given font file.
📁 Scan a directory recursively fc-scan /usr/share/fonts Scan all font files in the directory and subdirectories.
📄 Custom output format fc-scan -f "%{file}\n" /path/to/fonts Print only the file path for each font face.
â„šī¸ Show version fc-scan -V Display version and exit.

📖 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 📄 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.

đŸšĒ Exit 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>.

fc-scan(1)
📛 NAME 🚀 Quick Reference 📖 SYNOPSIS 📝 DESCRIPTION 🔧 OPTIONS đŸšĒ Exit Codes 📚 SEE ALSO âœī¸ AUTHOR

Generated by phpman v4.10.0-7-g98e9fd5 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-09-03 14:14 @216.73.216.198
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!