FC-QUERY(1)FC-QUERY(1)NAMEfc-query - query font files
SYNOPSISfc-query [ -Vh ]
[ [ -i index ] [ --index index ] ] [ [ -f format ] [ --format
format ] ] [ --version ] [ --help ] font-file...
DESCRIPTIONfc-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.
-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 CODESfc-query returns error code 0 for successful parsing, or 1 if any
errors occured or if at least one font face could not be opened.
SEE ALSOfc-scan(1)FcFreeTypeQuery(3)FcPatternFormat(3)fc-cat(1)fc-cache(1)fc-list(1)fc-match(1)
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>.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
┌─────────────────────────────┬─────────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├─────────────────────────────┼─────────────────────────────┤
│Availability │system/library/fontconfig │
├─────────────────────────────┼─────────────────────────────┤
│Interface Stability │Volatile │
└─────────────────────────────┴─────────────────────────────┘
Aug 13, 2008 FC-QUERY(1)