{
    "content": [
        {
            "type": "text",
            "text": "# fc-scan(1) (man)\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---\n\n**Summary:** fc-scan - scan font files or directories\n\n**Synopsis:** fc-scan [ -Vh ]\n[  [ -f format ]  [ --format format ]  ]  [ --version ]  [ --help ]  file...\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| -f | — | — |  |\n| -V | — | — |  |\n| -h | — | — | file Scan file recursively for font faces. |\n\n## See Also\n\n- fc-query(1)\n- FcFileScan(3)\n- FcDirScan(3)\n- FcPatternFormat(3)\n- fc-cat(1)\n- fc-cache(1)\n- fc-list(1)\n- fc-match(1)\n- fc-pattern(1)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (4 lines)\n- **DESCRIPTION** (2 lines)\n- **OPTIONS** (3 lines) — 3 subsections\n  - -f (1 lines)\n  - -V (1 lines)\n  - -h (2 lines)\n- **RETURN CODES** (2 lines)\n- **SEE ALSO** (5 lines)\n- **AUTHOR** (5 lines)\n\n## Full Content\n\n### NAME\n\nfc-scan - scan font files or directories\n\n### SYNOPSIS\n\nfc-scan [ -Vh ]\n\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### OPTIONS\n\nThis  program  follows the usual GNU command line syntax, with long options starting with two\ndashes (`-'). A summary of options is included below.\n\n#### -f\n\n#### -V\n\n#### -h\n\nfile   Scan file recursively for font faces.\n\n### RETURN CODES\n\nfc-scan returns error code 0 if at least one font was found or 1 otherwise.\n\n### SEE ALSO\n\nfc-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\n### AUTHOR\n\nThis manual page was updated by Behdad Esfahbod <behdad@behdad.org>.\n\n\n\nJan 15, 2009                                  FC-SCAN(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "fc-scan",
        "section": "1",
        "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": []
            }
        ]
    }
}