{
    "content": [
        {
            "type": "text",
            "text": "# pdffonts (man)\n\n## NAME\n\npdffonts - Portable Document Format (PDF) font analyzer (version 3.03)\n\n## SYNOPSIS\n\npdffonts [options] [PDF-file]\n\n## DESCRIPTION\n\nPdffonts lists the fonts used in a Portable Document Format (PDF) file along with various in‐\nformation for each font.\n\n## TLDR\n\n> Portable Document Format (PDF) file fonts information viewer.\n\n- Print PDF file fonts information:\n  `pdffonts {{path/to/file.pdf}}`\n- Specify user password for PDF file to bypass security restrictions:\n  `pdffonts -upw {{password}} {{path/to/file.pdf}}`\n- Specify owner password for PDF file to bypass security restrictions:\n  `pdffonts -opw {{password}} {{path/to/file.pdf}}`\n- Print additional information on location of the font that will be used when the PDF file is rasterized:\n  `pdffonts -loc {{path/to/file.pdf}}`\n- Print additional information on location of the font that will be used when the PDF file is converted to PostScript:\n  `pdffonts -locPS {{path/to/file.pdf}}`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION** (2 subsections)\n- **OPTIONS** (7 subsections)\n- **EXIT CODES**\n- **AUTHOR**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "pdffonts",
        "section": "",
        "mode": "man",
        "summary": "pdffonts - Portable Document Format (PDF) font analyzer (version 3.03)",
        "synopsis": "pdffonts [options] [PDF-file]",
        "tldr_summary": "Portable Document Format (PDF) file fonts information viewer.",
        "tldr_examples": [
            {
                "description": "Print PDF file fonts information",
                "command": "pdffonts {{path/to/file.pdf}}"
            },
            {
                "description": "Specify user password for PDF file to bypass security restrictions",
                "command": "pdffonts -upw {{password}} {{path/to/file.pdf}}"
            },
            {
                "description": "Specify owner password for PDF file to bypass security restrictions",
                "command": "pdffonts -opw {{password}} {{path/to/file.pdf}}"
            },
            {
                "description": "Print additional information on location of the font that will be used when the PDF file is rasterized",
                "command": "pdffonts -loc {{path/to/file.pdf}}"
            },
            {
                "description": "Print additional information on location of the font that will be used when the PDF file is converted to PostScript",
                "command": "pdffonts -locPS {{path/to/file.pdf}}"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "-f",
                "long": null,
                "arg": null,
                "description": "Specifies the first page to analyze."
            },
            {
                "flag": "-l",
                "long": null,
                "arg": null,
                "description": "Specifies the last page to analyze."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Specify the owner password for the PDF file. Providing this will bypass all security restrictions."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Specify the user password for the PDF file."
            },
            {
                "flag": "-v",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-h",
                "long": "--help",
                "arg": null,
                "description": ""
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "pdfdetach",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pdfdetach/1/json"
            },
            {
                "name": "pdfimages",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pdfimages/1/json"
            },
            {
                "name": "pdfinfo",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pdfinfo/1/json"
            },
            {
                "name": "pdftocairo",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pdftocairo/1/json"
            },
            {
                "name": "pdftohtml",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pdftohtml/1/json"
            },
            {
                "name": "pdftoppm",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pdftoppm/1/json"
            },
            {
                "name": "pdftops",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pdftops/1/json"
            },
            {
                "name": "pdftotext",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pdftotext/1/json"
            },
            {
                "name": "pdfseparate",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pdfseparate/1/json"
            },
            {
                "name": "pdfsig",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pdfsig/1/json"
            },
            {
                "name": "pdfunite",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pdfunite/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 12,
                "subsections": [
                    {
                        "name": "encoding",
                        "lines": 9
                    },
                    {
                        "name": "object ID",
                        "lines": 12
                    }
                ]
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-f",
                        "lines": 2,
                        "flag": "-f"
                    },
                    {
                        "name": "-l",
                        "lines": 2,
                        "flag": "-l"
                    },
                    {
                        "name": "-subst",
                        "lines": 1
                    },
                    {
                        "name": "-opw",
                        "lines": 3
                    },
                    {
                        "name": "-upw",
                        "lines": 2
                    },
                    {
                        "name": "-v",
                        "lines": 1,
                        "flag": "-v"
                    },
                    {
                        "name": "-h -help --help",
                        "lines": 1,
                        "flag": "-h",
                        "long": "--help"
                    }
                ]
            },
            {
                "name": "EXIT CODES",
                "lines": 12,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 6,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "pdffonts - Portable Document Format (PDF) font analyzer (version 3.03)\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "pdffonts [options] [PDF-file]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Pdffonts lists the fonts used in a Portable Document Format (PDF) file along with various in‐\nformation for each font.\n\nIf PDF-file is ´-', it reads the PDF file from stdin.\n\nThe following information is listed for each font:\n\nname   the font name, exactly as given in the PDF file (potentially including a  subset  pre‐\nfix)\n\ntype   the font type – see below for details\n",
                "subsections": [
                    {
                        "name": "encoding",
                        "content": "the font encoding\n\nemb    \"yes\" if the font is embedded in the PDF file\n\nsub    \"yes\" if the font is a subset\n\nuni    \"yes\" if there is an explicit \"ToUnicode\" map in the PDF file (the absence of a ToUni‐\ncode map doesn't necessarily mean that the text can't be converted to Unicode)\n"
                    },
                    {
                        "name": "object ID",
                        "content": "the font dictionary object ID (number and generation)\n\nPDF files can contain the following types of fonts:\n\nType 1\nType 1C – aka Compact Font Format (CFF)\nType 3\nTrueType\nCID Type 0 – 16-bit font with no specified type\nCID Type 0C – 16-bit PostScript CFF font\nCID TrueType – 16-bit TrueType font\n"
                    }
                ]
            },
            "OPTIONS": {
                "content": "",
                "subsections": [
                    {
                        "name": "-f",
                        "content": "Specifies the first page to analyze.\n",
                        "flag": "-f"
                    },
                    {
                        "name": "-l",
                        "content": "Specifies the last page to analyze.\n",
                        "flag": "-l"
                    },
                    {
                        "name": "-subst",
                        "content": ""
                    },
                    {
                        "name": "-opw",
                        "content": "Specify the owner password for the PDF file.  Providing this will bypass all  security\nrestrictions.\n"
                    },
                    {
                        "name": "-upw",
                        "content": "Specify the user password for the PDF file.\n"
                    },
                    {
                        "name": "-v",
                        "content": "",
                        "flag": "-v"
                    },
                    {
                        "name": "-h -help --help",
                        "content": "",
                        "flag": "-h",
                        "long": "--help"
                    }
                ]
            },
            "EXIT CODES": {
                "content": "The Xpdf tools use the following exit codes:\n\n0      No error.\n\n1      Error opening a PDF file.\n\n2      Error opening an output file.\n\n3      Error related to PDF permissions.\n\n99     Other error.\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "The pdffonts software and documentation are copyright 1996–2011 Glyph & Cog, LLC.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "pdfdetach(1), pdfimages(1), pdfinfo(1), pdftocairo(1), pdftohtml(1), pdftoppm(1), pdftops(1),\npdftotext(1), pdfseparate(1), pdfsig(1), pdfunite(1)\n\n\n\n15 August 2011                                pdffonts(1)",
                "subsections": []
            }
        }
    }
}