FC-MATCH(1)
fc-match โ match available fonts, bestie edition ๐ (FC-MATCH(1))
NAME ๐
fc-match โ match available fonts. That's the whole vibe: you hand it a pattern, it goes shopping through your fontconfig and finds the best font available. ๐
SYNOPSIS โจ
fc-match [ -asvVh ] [ --all ] [ --sort ] [ --verbose ]
[ [ -f format ] [ --format format ] ]
[ --version ] [ --help ]
[ pattern [ element... ] ]
DESCRIPTION ๐
Okay so fc-match matches pattern (empty pattern by default) using the normal fontconfig matching rules to find the best font available. It's giving font matchmaker, no cap. ๐ฆ
If --sort is given, the sorted list of best matching fonts is displayed. The --all option works like --sort except that no pruning is done on the list of fonts. Yes bestie, no pruning โ it does not trim the list. โจ
If any elements are specified, only those are printed. Otherwise short file name, family, and style are printed, unless verbose output is requested. That's the default little trio. ๐ซถ
OPTIONS ๐
This program follows the usual GNU command line syntax, with long options starting with two dashes (--). A summary of options is included below. ๐
-a,--allโ Displays sorted list of best matching fonts, but do not do any pruning on the list. It's the--sortvibe with zero trimming, periodt. ๐-s,--sortโ Displays sorted list of best matching fonts. Sorted, cute, done. ๐ธ-v,--verboseโ Print verbose output of the whole font pattern for each match, or elements if any is provided. It's giving full lore. ๐ญ-f,--format formatโ Format output according to the format specifier format. Your output, your rules. โจ-V,--versionโ Show version of the program and exit. Bye bestie. ๐-h,--helpโ Show summary of options. The classic "help me help you" moment. ๐ซถ- pattern โ Displays fonts matching pattern (uses empty pattern by default). Empty pattern is the default, iykyk. ๐
- element โ If set, the element property is displayed for matching fonts. Only the elements you ask for, bestie. ๐
EXAMPLES ๐ฅ
fc-match sans
Display the best matching font categorized into sans-serif generic family, filtered by current locale. ๐
fc-match sans:lang=en
Display the best matching font categorized into sans-serif generic family, filtered by English language. ๐
fc-match sans:lang=en:weight=bold
Display the best matching font categorized into sans-serif generic family, filtered by English language and weight is bold. Bold era. ๐ฅ
SEE ALSO ๐
Bestie, go touch grass in the rest of fontconfig:
fc-list(1)FcFontMatch(3)FcFontSort(3)FcPatternFormat(3)fc-cat(1)fc-cache(1)fc-pattern(1)fc-query(1)fc-scan(1)
The fontconfig user's guide: https://fontconfig.pages.freedesktop.org/fontconfig/fontconfig-user.html โ the full lore drop, iykyk. ๐ง
AUTHOR ๐
This manual page was updated by Patrick Lam <plam@csail.mit.edu>. Give them their flowers. ๐
Signing off from the FC-MATCH(1) page, dated Aug 13, 2008 โ stay matched, bestie. ๐๐ฆ
๐ฆ where this page comes from
- alpine 3.23: fontconfig-doc 2.17.1-r0 ยท MIT
- alpine 3.24: fontconfig-doc 2.17.1-r1 ยท MIT
- fedora 43: fontconfig 2.17.0-3.fc43 ยท HPND AND LicenseRef-Fedora-Public-Domain AND Unicode-DFS-2016
- fedora 43: fontconfig 2.17.0-3.fc43 ยท HPND AND LicenseRef-Fedora-Public-Domain AND Unicode-DFS-2016
- fedora 44: fontconfig 2.17.0-4.fc44 ยท HPND AND LicenseRef-Fedora-Public-Domain AND Unicode-DFS-2016
- fedora 44: fontconfig 2.17.0-4.fc44 ยท HPND AND LicenseRef-Fedora-Public-Domain AND Unicode-DFS-2016
- nixos 26.05: fontconfig 2.17.1
- nixpkgs unstable: fontconfig 2.18.3
- opensuse-leap 16.0: fontconfig 2.16.0-160000.2.2 ยท MIT
- opensuse-leap 16.0: fontconfig 2.16.0-160000.2.2 ยท MIT
- opensuse-leap 16.0: fontconfig 2.16.0-160000.2.2 ยท MIT
- opensuse-leap 16.0: fontconfig 2.16.0-160000.2.2 ยท MIT
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms