{
    "mode": "info",
    "parameter": "addftinfo",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/info/addftinfo/json",
    "generated": "2026-07-06T02:03:23Z",
    "synopsis": "addftinfo [-asc-height n] [-body-depth n] [-body-height n]\n[-cap-height n] [-comma-depth n] [-desc-depth n]\n[-fig-height n] [-x-height n] res unitwidth font\naddftinfo --help\naddftinfo -v\naddftinfo --version",
    "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]\n[-cap-height n] [-comma-depth n] [-desc-depth n]\n[-fig-height n] [-x-height n] res unitwidth font\n\naddftinfo --help\n\naddftinfo -v\naddftinfo --version\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "addftinfo  reads a troff font file and adds some additional font-metric\ninformation that is used by the groff system.  The font file  with  the\ninformation  added  is written on the standard output.  The information\nadded is guessed using some parametric information about the  font  and\nassumptions about the traditional troff names for characters.  The main\ninformation added is the heights and depths of characters.  The res and\nunitwidth  arguments should be the same as the corresponding parameters\nin the DESC file; font is the name of the file describing the font;  if\nfont ends with I the font will be assumed to be italic.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "-v prints the version number.\n\nAll  other options change one of the parameters that are used to derive\nthe heights and depths.  Like the existing quantities in the font file,\neach  value  is in inches/res for a font whose point size is unitwidth.\nparam-option must be one of:\n",
            "subsections": [
                {
                    "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\nunspecified  parameters.   If  a parameter is not specified the default\nwill be used.  The defaults are chosen to have  the  reasonable  values\nfor 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\ngroff 1.22.4                     23 March 2022                    ADDFTINFO(1)",
            "subsections": []
        }
    },
    "summary": "addftinfo - add information to troff font files for use with groff",
    "flags": [
        {
            "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 parameters. 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"
        }
    ]
}