fc-query - Man Page

query font files


fc-query [ -Vh ]

[ [ -b ]  [ --ignore-blanks ] ]  [ [ -i index ]  [ --index index ] ]  [ [ -f format ]  [ --format format ] ]  [ --version ]  [ --help ]  font-file...


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.


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


Ignore blanks to compute languages


Only query face indexed index of each file.


Format output according to the format specifier format.


Show version of the program and exit.


Show summary of options.


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) FcFreeTypeQuery(3) FcPatternFormat(3) fc-cat(1) fc-cache(1) fc-list(1) fc-match(1) fc-pattern(1)

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


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

Referenced By

fc-cache(1), fc-cat(1), fc-list(1), fc-match(1), fc-pattern(1), fc-scan(1), fonts-conf(5).

Aug 13, 2008