# FC-QUERY - query font files - man - [phpMan]

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

## NAME
       fc-query - query font files

## SYNOPSIS
       **fc-query **[ **-Vh **]

        [   **[  -b ]  [ --ignore-blanks ]  **]  [  **[ -i _**index_ **]  [ --index _**index_ **]  **]  [  **[ -f _**format_ **]**
       **[ --format _**format_ **]  **]  [ **--version **]  [ **--help **]  _font-file..._

## DESCRIPTION
       **fc-query **queries _font-file_(s) using the normal fontconfig rules and prints out  font  pattern
       for  each  face found.  If **--index **is given, only one face of each file is queried, otherwise
       all faces are queried.

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

### -b     

### -i     

### -f     

### -V     

### -h     

       _font-file_
              Query _font-file_ for font faces.

## RETURN CODES
       **fc-query  **returns  error  code 0 for successful parsing, or 1 if any errors occurred or if at
       least one font face could not be opened.

## SEE ALSO
       [**fc-scan**(1)](https://www.chedong.com/phpMan.php/man/fc-scan/1/markdown) [**FcFreeTypeQuery**(3)](https://www.chedong.com/phpMan.php/man/FcFreeTypeQuery/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-list**(1)](https://www.chedong.com/phpMan.php/man/fc-list/1/markdown) [**fc-match**(1)](https://www.chedong.com/phpMan.php/man/fc-match/1/markdown)
       [**fc-pattern**(1)](https://www.chedong.com/phpMan.php/man/fc-pattern/1/markdown)

       The fontconfig user's guide, in HTML format: _/usr/share/doc/fontconfig/fontconfig-user.html_.

## AUTHOR
       This manual page was updated by Behdad Esfahbod <<behdad@behdad.org>>.

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