{
    "mode": "man",
    "parameter": "fc-query",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/fc-query/1/json",
    "generated": "2026-06-03T03:33:20Z",
    "synopsis": "fc-query [ -Vh ]\n[   [  -b ]  [ --ignore-blanks ]  ]  [  [ -i index ]  [ --index index ]  ]  [  [ -f format ]\n[ --format format ]  ]  [ --version ]  [ --help ]  font-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 ]  ]  [  [ -f format ]\n[ --format format ]  ]  [ --version ]  [ --help ]  font-file...\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "fc-query queries font-file(s) using the normal fontconfig rules and prints out  font  pattern\nfor  each  face found.  If --index is given, only one face of each file is queried, otherwise\nall faces are queried.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "This program follows the usual GNU command line syntax, with long options starting  with  two\ndashes (`-'). A summary of options is included below.\n",
            "subsections": [
                {
                    "name": "-b",
                    "content": "",
                    "flag": "-b"
                },
                {
                    "name": "-i",
                    "content": "",
                    "flag": "-i"
                },
                {
                    "name": "-f",
                    "content": "",
                    "flag": "-f"
                },
                {
                    "name": "-V",
                    "content": "",
                    "flag": "-V"
                },
                {
                    "name": "-h",
                    "content": "font-file\nQuery font-file for font faces.\n",
                    "flag": "-h"
                }
            ]
        },
        "RETURN CODES": {
            "content": "fc-query  returns  error  code  0 for successful parsing, or 1 if any errors occured or if at\nleast 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) fc-list(1) fc-match(1)\nfc-pattern(1)\n\nThe fontconfig user's guide, in HTML format: /usr/share/doc/fontconfig/fontconfig-user.html.\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "This manual page was updated by Behdad Esfahbod <behdad@behdad.org>.\n\n\n\nAug 13, 2008                                 FC-QUERY(1)",
            "subsections": []
        }
    },
    "summary": "fc-query - query font files",
    "flags": [
        {
            "flag": "-b",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-i",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-f",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-V",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-h",
            "long": null,
            "arg": null,
            "description": "font-file Query font-file for font faces."
        }
    ],
    "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"
        }
    ]
}