# phpman > info > FC-QUERY

[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 op-
       tions starting with two dashes (`-'). A summary of options is  included
       below.

       -b     Ignore blanks to compute languages

       -i     Only query face indexed index of each file.

       -f     Format output according to the format specifier format.

       -V     Show version of the program and exit.

       -h     Show summary of options.

       font-file
              Query font-file for font faces.

RETURN CODES
       fc-query  returns  error code 0 for successful parsing, or 1 if any er-
       rors occured 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/fontcon-
       fig/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)
