{
    "mode": "man",
    "parameter": "TTF2AFM",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/TTF2AFM/1/json",
    "generated": "2026-06-03T02:50:08Z",
    "synopsis": "ttf2afm [OPTIONS] FONTFILE",
    "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": []
        }
    },
    "summary": "ttf2afm - utility to generate AFM files for TrueType fonts",
    "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"
        }
    ]
}