# phpman > man > fc-match(1)

> **TLDR:** Match available fonts.
>
- Return a sorted list of best matching fonts:
  `fc-match {{-s|--sort}} '{{DejaVu Serif}}'`

*Source: tldr-pages*

---

[FC-MATCH(1)](https://www.chedong.com/phpMan.php/man/FC-MATCH/1/markdown)                                                                              [FC-MATCH(1)](https://www.chedong.com/phpMan.php/man/FC-MATCH/1/markdown)



## NAME
       fc-match - match available fonts

## SYNOPSIS
       **fc-match**  [ **-asvVh** ]  [ **--all** ]  [ **--sort** ]  [ **--verbose** ]  [  **[** **-f** _format_ **]**  **[** **--format** _for__‐
       _mat_ **]**  ]  [ **--version** ]  [ **--help** ]

        [ _pattern_  **[** _element..._ **]**   ]

## 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

### -s

### -v
              provided.

### -f

### -V

### -h

       _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**(1)](https://www.chedong.com/phpMan.php/man/fc-list/1/markdown) [**FcFontMatch**(3)](https://www.chedong.com/phpMan.php/man/FcFontMatch/3/markdown)  [**FcFontSort**(3)](https://www.chedong.com/phpMan.php/man/FcFontSort/3/markdown)  [**FcPatternFormat**(3)](https://www.chedong.com/phpMan.php/man/FcPatternFormat/3/markdown)  [**fc-cat**(1)](https://www.chedong.com/phpMan.php/man/fc-cat/1/markdown)  [**fc-cache**(1)](https://www.chedong.com/phpMan.php/man/fc-cache/1/markdown)  **fc-pat**‐‐
       [**tern**(1)](https://www.chedong.com/phpMan.php/man/tern/1/markdown) [**fc-query**(1)](https://www.chedong.com/phpMan.php/man/fc-query/1/markdown) [**fc-scan**(1)](https://www.chedong.com/phpMan.php/man/fc-scan/1/markdown)

       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@csail.mit.edu>>.



                                            Aug 13, 2008                                 [FC-MATCH(1)](https://www.chedong.com/phpMan.php/man/FC-MATCH/1/markdown)
