Linux Commands Examples

A great documentation place for Linux commands

fc-match

match available fonts


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

Synopsis

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!

examples


no example yet ...

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

description

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.

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

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

-s

Displays sorted list of best matching fonts.

-v

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

-f

Format output according to the format specifier format.

-V

Show version of the program and exit.

-h

Show summary of options.

pattern

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

element

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.


author

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

How can this site be more helpful to YOU ?


give  feedback