{
    "mode": "info",
    "parameter": "FC-QUERY",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/info/FC-QUERY/json",
    "generated": "2026-07-05T13:06:39Z",
    "synopsis": "fc-query [ -Vh ]\n[   [ -b ]  [ --ignore-blanks ]  ]  [  [ -i index ]  [ --index index ]\n]  [  [ -f format ]  [ --format format ]  ]  [ --version ]  [ --help  ]\nfont-file...",
    "sections": {
        "NAME": {
            "content": "fc-query - query font files\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "fc-query [ -Vh ]\n\n[   [ -b ]  [ --ignore-blanks ]  ]  [  [ -i index ]  [ --index index ]\n]  [  [ -f format ]  [ --format format ]  ]  [ --version ]  [ --help  ]\nfont-file...\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "fc-query  queries  font-file(s)  using  the normal fontconfig rules and\nprints out font pattern for each face found.  If --index is given, only\none face of each file is queried, otherwise all faces are queried.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "This  program  follows the usual GNU command line syntax, with long op-\ntions starting with two dashes (`-'). A summary of options is  included\nbelow.\n\n-b     Ignore blanks to compute languages\n\n-i     Only query face indexed index of each file.\n\n-f     Format output according to the format specifier format.\n\n-V     Show version of the program and exit.\n\n-h     Show summary of options.\n\nfont-file\nQuery font-file for font faces.\n",
            "subsections": []
        },
        "RETURN CODES": {
            "content": "fc-query  returns  error code 0 for successful parsing, or 1 if any er-\nrors occured or if at least one font face could not be opened.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "fc-scan(1) FcFreeTypeQuery(3) FcPatternFormat(3) fc-cat(1)  fc-cache(1)\nfc-list(1) fc-match(1) fc-pattern(1)\n\nThe  fontconfig  user's  guide, in HTML format: /usr/share/doc/fontcon-\nfig/fontconfig-user.html.\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "This manual page was updated by Behdad Esfahbod <behdad@behdad.org>.\n\nAug 13, 2008                      FC-QUERY(1)",
            "subsections": []
        }
    },
    "summary": "fc-query - query font files",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "fc-scan",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/fc-scan/1/json"
        },
        {
            "name": "FcFreeTypeQuery",
            "section": "3",
            "url": "https://www.chedong.com/phpMan.php/man/FcFreeTypeQuery/3/json"
        },
        {
            "name": "FcPatternFormat",
            "section": "3",
            "url": "https://www.chedong.com/phpMan.php/man/FcPatternFormat/3/json"
        },
        {
            "name": "fc-cat",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/fc-cat/1/json"
        },
        {
            "name": "fc-cache",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/fc-cache/1/json"
        },
        {
            "name": "fc-list",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/fc-list/1/json"
        },
        {
            "name": "fc-match",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/fc-match/1/json"
        },
        {
            "name": "fc-pattern",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/fc-pattern/1/json"
        }
    ]
}