{
    "content": [
        {
            "type": "text",
            "text": "# fc-scan (man)\n\n## NAME\n\nfc-scan - scan font files or directories\n\n## SYNOPSIS\n\nfc-scan [ -Vh ]\n[  [ -f format ]  [ --format format ]  ]  [ --version ]  [ --help ]  file...\n\n## DESCRIPTION\n\nfc-scan scans file(s) recursively and prints out font pattern for each face found.\n\n## TLDR\n\n> Scan font files or directories and print pattern information for each face found.\n\n- Scan a font file:\n  `fc-scan {{path/to/font_file}}`\n- Scan a directory of fonts recursively:\n  `fc-scan {{path/to/directory}}`\n- Scan multiple files or directories:\n  `fc-scan {{path/to/font1.ttf path/to/font2.otf ...}}`\n- Print results without including font sizes:\n  `fc-scan {{-b|--brief}} {{path/to/font_file}}`\n- Print results using a custom output format:\n  `fc-scan {{-f|--format}} \"{{%{family}\\n}}\" {{path/to/font_file}}`\n- Display help:\n  `fc-scan {{-h|--help}}`\n- Display version:\n  `fc-scan {{-V|--version}}`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS** (3 subsections)\n- **RETURN CODES**\n- **SEE ALSO**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "fc-scan",
        "section": "",
        "mode": "man",
        "summary": "fc-scan - scan font files or directories",
        "synopsis": "fc-scan [ -Vh ]\n[  [ -f format ]  [ --format format ]  ]  [ --version ]  [ --help ]  file...",
        "tldr_summary": "Scan font files or directories and print pattern information for each face found.",
        "tldr_examples": [
            {
                "description": "Scan a font file",
                "command": "fc-scan {{path/to/font_file}}"
            },
            {
                "description": "Scan a directory of fonts recursively",
                "command": "fc-scan {{path/to/directory}}"
            },
            {
                "description": "Scan multiple files or directories",
                "command": "fc-scan {{path/to/font1.ttf path/to/font2.otf ...}}"
            },
            {
                "description": "Print results without including font sizes",
                "command": "fc-scan {{-b|--brief}} {{path/to/font_file}}"
            },
            {
                "description": "Print results using a custom output format",
                "command": "fc-scan {{-f|--format}} \"{{%{family}\\n}}\" {{path/to/font_file}}"
            },
            {
                "description": "Display help",
                "command": "fc-scan {{-h|--help}}"
            },
            {
                "description": "Display version",
                "command": "fc-scan {{-V|--version}}"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "-f",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-V",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-h",
                "long": null,
                "arg": null,
                "description": "file Scan file recursively for font faces."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "fc-query",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/fc-query/1/json"
            },
            {
                "name": "FcFileScan",
                "section": "3",
                "url": "https://www.chedong.com/phpMan.php/man/FcFileScan/3/json"
            },
            {
                "name": "FcDirScan",
                "section": "3",
                "url": "https://www.chedong.com/phpMan.php/man/FcDirScan/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"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 3,
                "subsections": [
                    {
                        "name": "-f",
                        "lines": 1,
                        "flag": "-f"
                    },
                    {
                        "name": "-V",
                        "lines": 1,
                        "flag": "-V"
                    },
                    {
                        "name": "-h",
                        "lines": 2,
                        "flag": "-h"
                    }
                ]
            },
            {
                "name": "RETURN CODES",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "fc-scan - scan font files or directories\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "fc-scan [ -Vh ]\n\n[  [ -f format ]  [ --format format ]  ]  [ --version ]  [ --help ]  file...\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "fc-scan scans file(s) recursively and prints out font pattern for each face found.\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": "-f",
                        "content": "",
                        "flag": "-f"
                    },
                    {
                        "name": "-V",
                        "content": "",
                        "flag": "-V"
                    },
                    {
                        "name": "-h",
                        "content": "file   Scan file recursively for font faces.\n",
                        "flag": "-h"
                    }
                ]
            },
            "RETURN CODES": {
                "content": "fc-scan returns error code 0 if at least one font was found or 1 otherwise.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "fc-query(1) FcFileScan(3) FcDirScan(3) FcPatternFormat(3)  fc-cat(1)  fc-cache(1)  fc-list(1)\nfc-match(1) fc-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\nJan 15, 2009                                  FC-SCAN(1)",
                "subsections": []
            }
        }
    }
}