{
    "content": [
        {
            "type": "text",
            "text": "# ttf2afm (man)\n\n## NAME\n\nttf2afm - utility to generate AFM files for TrueType fonts\n\n## SYNOPSIS\n\nttf2afm [OPTIONS] FONTFILE\n\n## DESCRIPTION\n\nttf2afm  is used to generate Adobe Font Metrics (AFM) files for TrueType (TTF) fonts to allow\nthem to be used with TeX.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS** (7 subsections)\n- **SEE ALSO**\n- **BUGS**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "ttf2afm",
        "section": "",
        "mode": "man",
        "summary": "ttf2afm - utility to generate AFM files for TrueType fonts",
        "synopsis": "ttf2afm [OPTIONS] FONTFILE",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [
            {
                "flag": "-i",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-u",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-c",
                "long": null,
                "arg": null,
                "description": "write encoding tables to file name.eMN, where M is the platform ID and N is the encod‐ ing ID"
            },
            {
                "flag": "-v",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-e",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-o",
                "long": null,
                "arg": null,
                "description": "output to file outfile instead of standard output"
            },
            {
                "flag": "-m",
                "long": null,
                "arg": null,
                "description": "Platform numbers can be one of 0 Apple Unicode 1 Macintosh 2 ISO 3 Microsoft Encodings can be 0 Roman (if platform is Macintosh) 0 Symbol (if platform is Microsoft) 1 Unicode (if platform is Microsoft)"
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "afm2tfm",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/afm2tfm/1/json"
            },
            {
                "name": "afm2pl",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/afm2pl/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-i",
                        "lines": 1,
                        "flag": "-i"
                    },
                    {
                        "name": "-u",
                        "lines": 1,
                        "flag": "-u"
                    },
                    {
                        "name": "-c",
                        "lines": 3,
                        "flag": "-c"
                    },
                    {
                        "name": "-v",
                        "lines": 1,
                        "flag": "-v"
                    },
                    {
                        "name": "-e",
                        "lines": 1,
                        "flag": "-e"
                    },
                    {
                        "name": "-o",
                        "lines": 2,
                        "flag": "-o"
                    },
                    {
                        "name": "-m",
                        "lines": 18,
                        "flag": "-m"
                    }
                ]
            },
            {
                "name": "SEE ALSO",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "BUGS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 8,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "ttf2afm - utility to generate AFM files for TrueType fonts\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "ttf2afm [OPTIONS] FONTFILE\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "ttf2afm  is used to generate Adobe Font Metrics (AFM) files for TrueType (TTF) fonts to allow\nthem to be used with TeX.\n\nttf2afm takes the name of a TrueType font file as a required argument.  It may also take  one\nor more options from the list below (-i and -u are mutually exclusive).\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "",
                "subsections": [
                    {
                        "name": "-i",
                        "content": "",
                        "flag": "-i"
                    },
                    {
                        "name": "-u",
                        "content": "",
                        "flag": "-u"
                    },
                    {
                        "name": "-c",
                        "content": "write encoding tables to file name.eMN, where M is the platform ID and N is the encod‐\ning ID\n",
                        "flag": "-c"
                    },
                    {
                        "name": "-v",
                        "content": "",
                        "flag": "-v"
                    },
                    {
                        "name": "-e",
                        "content": "",
                        "flag": "-e"
                    },
                    {
                        "name": "-o",
                        "content": "output to file outfile instead of standard output\n",
                        "flag": "-o"
                    },
                    {
                        "name": "-m",
                        "content": "Platform numbers can be one of\n\n0      Apple Unicode\n\n1      Macintosh\n\n2      ISO\n\n3      Microsoft\n\nEncodings can be\n\n0      Roman (if platform is Macintosh)\n\n0      Symbol (if platform is Microsoft)\n\n1      Unicode (if platform is Microsoft)\n",
                        "flag": "-m"
                    }
                ]
            },
            "SEE ALSO": {
                "content": "afm2tfm(1),    afm2pl(1).     FontForge    (http://fontforge.sf.net).      LCDF     TypeTools\n(http://lcdf.org).    A   closer   look   at   TrueType  fonts  and  pdfTeX,  Han  The  Thanh\n(http://tug.org/TUGboat/tb30-1/tb94thanh.pdf).\n",
                "subsections": []
            },
            "BUGS": {
                "content": "Send bug reports to <pdftex@tug.org> (public mailing list).\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "ttf2afm is part of pdfTeX and was written by Han The Thanh.\n\nThis manual page was originally written by C.M. Connelly, for the  Debian  GNU/Linux  system,\nand updated by Karl Berry and others.\n\n\n\nWeb2C 2022/dev                              8 March 2016                                  TTF2AFM(1)",
                "subsections": []
            }
        }
    }
}