{
    "mode": "man",
    "parameter": "fc-pattern",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/fc-pattern/1/json",
    "generated": "2026-06-15T14:22:26Z",
    "synopsis": "fc-pattern  [  -cdVh ]  [ --config ]  [ --default ]  [  [ -f format ]  [ --format format ]  ]\n[ --version ]  [ --help ]\n[ pattern  [ element... ]   ]",
    "sections": {
        "NAME": {
            "content": "fc-pattern - parse and show pattern\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "fc-pattern  [  -cdVh ]  [ --config ]  [ --default ]  [  [ -f format ]  [ --format format ]  ]\n[ --version ]  [ --help ]\n\n[ pattern  [ element... ]   ]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "fc-pattern parses pattern (empty pattern by default) and shows the parsed result.  If  --con‐‐\nfig  is  given,  config  substitution is performed on the pattern before being displayed.  If\n--default is given, default substitution is performed on the pattern before being displayed.\n\nIf any elements are specified, only those are printed.\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": "-c",
                    "content": "",
                    "flag": "-c"
                },
                {
                    "name": "-d",
                    "content": "",
                    "flag": "-d"
                },
                {
                    "name": "-f",
                    "content": "",
                    "flag": "-f"
                },
                {
                    "name": "-V",
                    "content": "",
                    "flag": "-V"
                },
                {
                    "name": "-h",
                    "content": "pattern\nParses and displays pattern (uses empty pattern by default).\n\nelement\nIf set, the element property is displayed for parsed pattern.\n",
                    "flag": "-h"
                }
            ]
        },
        "SEE ALSO": {
            "content": "FcNameParse(3)  FcConfigSubstitute(3)  FcDefaultSubstitute(3) FcPatternPrint(3) FcPatternFor‐‐\nmat(3) fc-cat(1) fc-cache(1) fc-list(1) fc-match(1) fc-query(1) fc-scan(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\nApr 20, 2010                               FC-PATTERN(1)",
            "subsections": []
        }
    },
    "summary": "fc-pattern - parse and show pattern",
    "flags": [
        {
            "flag": "-c",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-d",
            "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": "pattern Parses and displays pattern (uses empty pattern by default). element If set, the element property is displayed for parsed pattern."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "FcNameParse",
            "section": "3",
            "url": "https://www.chedong.com/phpMan.php/man/FcNameParse/3/json"
        },
        {
            "name": "FcConfigSubstitute",
            "section": "3",
            "url": "https://www.chedong.com/phpMan.php/man/FcConfigSubstitute/3/json"
        },
        {
            "name": "FcDefaultSubstitute",
            "section": "3",
            "url": "https://www.chedong.com/phpMan.php/man/FcDefaultSubstitute/3/json"
        },
        {
            "name": "FcPatternPrint",
            "section": "3",
            "url": "https://www.chedong.com/phpMan.php/man/FcPatternPrint/3/json"
        },
        {
            "name": "mat",
            "section": "3",
            "url": "https://www.chedong.com/phpMan.php/man/mat/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-query",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/fc-query/1/json"
        },
        {
            "name": "fc-scan",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/fc-scan/1/json"
        }
    ],
    "tldr": {
        "source": "official",
        "description": "Show information about a font matching a pattern.",
        "examples": [
            {
                "description": "Display default information about a font",
                "command": "fc-pattern {{-d|--default}} '{{DejaVu Serif}}'"
            },
            {
                "description": "Display configuration information about a font",
                "command": "fc-pattern {{-c|--config}} '{{DejaVu Serif}}'"
            }
        ]
    }
}