{
    "mode": "man",
    "parameter": "addftinfo",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/addftinfo/1/json",
    "generated": "2026-05-30T05:14:31Z",
    "synopsis": "addftinfo [-asc-height n] [-body-depth n] [-body-height n] [-cap-height n] [-comma-depth n]\n[-desc-depth n] [-fig-height n] [-x-height n] res unitwidth font",
    "sections": {
        "NAME": {
            "content": "addftinfo - add information to troff font files for use with groff\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "addftinfo [-asc-height n] [-body-depth n] [-body-height n] [-cap-height n] [-comma-depth n]\n[-desc-depth n] [-fig-height n] [-x-height n] res unitwidth font\n",
            "subsections": [
                {
                    "name": "addftinfo --help",
                    "content": ""
                },
                {
                    "name": "addftinfo -v",
                    "content": ""
                },
                {
                    "name": "addftinfo --version",
                    "content": ""
                }
            ]
        },
        "DESCRIPTION": {
            "content": "addftinfo reads a troff font file and adds some additional font-metric  information  that  is\nused  by  the groff system.  The font file with the information added is written on the stan‐\ndard output.  The information added is guessed using some parametric  information  about  the\nfont  and assumptions about the traditional troff names for characters.  The main information\nadded is the heights and depths of characters.  The res and unitwidth arguments should be the\nsame  as the corresponding parameters in the DESC file; font is the name of the file describ‐\ning the font; if font ends with I the font will be assumed to be italic.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-v",
                    "content": "All other options change one of the parameters that  are  used  to  derive  the  heights  and\ndepths.   Like  the  existing  quantities in the font file, each value is in inches/res for a\nfont whose point size is unitwidth.  param-option must be one of:\n",
                    "flag": "-v"
                },
                {
                    "name": "-x-height",
                    "content": "The height of lowercase letters without ascenders such as x.\n"
                },
                {
                    "name": "-fig-height",
                    "content": "The height of figures (digits).\n"
                },
                {
                    "name": "-asc-height",
                    "content": "The height of characters with ascenders, such as b, d or l.\n"
                },
                {
                    "name": "-body-height",
                    "content": "The height of characters such as parentheses.\n"
                },
                {
                    "name": "-cap-height",
                    "content": "The height of uppercase letters such as A.\n"
                },
                {
                    "name": "-comma-depth",
                    "content": "The depth of a comma.\n"
                },
                {
                    "name": "-desc-depth",
                    "content": "The depth of characters with descenders, such as p, q, or y.\n"
                },
                {
                    "name": "-body-depth",
                    "content": "The depth of characters such as parentheses.\n\naddftinfo makes no attempt to use the specified parameters to guess the  unspecified  parame‐\nters.   If a parameter is not specified the default will be used.  The defaults are chosen to\nhave the reasonable values for a Times font.\n"
                }
            ]
        },
        "SEE ALSO": {
            "content": "grofffont(5), groff(1), groffchar(7)\n\nYou can view a man page name(n) with\nman n name\nin text mode and with\ngroffer n name\nin graphical mode (PDF, etc.).\n\n\n\ngroff 1.22.4                                23 March 2022                               ADDFTINFO(1)",
            "subsections": []
        }
    },
    "summary": "addftinfo - add information to troff font files for use with groff",
    "flags": [
        {
            "flag": "-v",
            "long": null,
            "arg": null,
            "description": "All other options change one of the parameters that are used to derive the heights and depths. Like the existing quantities in the font file, each value is in inches/res for a font whose point size is unitwidth. param-option must be one of:"
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "The height of lowercase letters without ascenders such as x."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "The height of figures (digits)."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "The height of characters with ascenders, such as b, d or l."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "The height of characters such as parentheses."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "The height of uppercase letters such as A."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "The depth of a comma."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "The depth of characters with descenders, such as p, q, or y."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "The depth of characters such as parentheses. addftinfo makes no attempt to use the specified parameters to guess the unspecified parame‐ ters. If a parameter is not specified the default will be used. The defaults are chosen to have the reasonable values for a Times font."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "grofffont",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/grofffont/5/json"
        },
        {
            "name": "groff",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/groff/1/json"
        },
        {
            "name": "groffchar",
            "section": "7",
            "url": "https://www.chedong.com/phpMan.php/man/groffchar/7/json"
        },
        {
            "name": "name",
            "section": "n",
            "url": "https://www.chedong.com/phpMan.php/man/name/n/json"
        }
    ]
}