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 --sort vibe 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:

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