Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

fc-query (1)

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(1)                                                        FC-QUERY(1)



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     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
       errors occurred or if at least one font face could not be opened.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+---------------------------+
       |ATTRIBUTE TYPE |     ATTRIBUTE VALUE       |
       +---------------+---------------------------+
       |Availability   | system/library/fontconfig |
       +---------------+---------------------------+
       |Stability      | Volatile                  |
       +---------------+---------------------------+

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/fontcon-
       fig/fontconfig-user.html.

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



NOTES
       Source code for open source software components in Oracle  Solaris  can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This    software    was    built    from    source     available     at
       https://github.com/oracle/solaris-userland.    The  original  community
       source  was  downloaded  from   https://fontconfig.org/release/fontcon-
       fig-2.14.0.tar.xz.

       Further information about this software can be found on the open source
       community website at https://fontconfig.org/.



                                 Aug 13, 2008                      FC-QUERY(1)