Linux Commands Examples

A great documentation place for Linux commands


match available fonts

see also : fc-list - fc-cat - fc-cache - fc-pattern - fc-query - fc-scan


fc-match [ -asvVh ] [ --all ] [ --sort ] [ --verbose ] [ [ -f format ] [ --format format ] ] [ --version ] [ --help ]

[ pattern [ element... ] ]

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !


fc-match matches pattern (empty pattern by default) using the normal fontconfig matching rules to find the best font available. 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.

If any elements are specified, only those are printed. Otherwise short file name, family, and style are printed, unless verbose output is requested.


This program follows the usual GNU command line syntax, with long options starting with two dashes (’-’). A summary of options is included below.


Displays sorted list of best matching fonts, but do not do any pruning on the list.


Displays sorted list of best matching fonts.


Print verbose output of the whole font pattern for each match, or elements if any is provided.


Format output according to the format specifier format.


Show version of the program and exit.


Show summary of options.


Displays fonts matching pattern (uses empty pattern by default).


If set, the element property is displayed for matching fonts.

see also

fc-list FcFontMatch FcFontSort FcPatternFormat fc-cat fc-cache fc-pattern fc-query fc-scan

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


This manual page was updated by Patrick Lam <plam[:at:][:dot:]edu>.

How can this site be more helpful to YOU ?

give  feedback