{
    "content": [
        {
            "type": "text",
            "text": "# xtotroff(1) (man)\n\n**Summary:** xtotroff - convert X font metrics into GNU troff font metrics\n\n**Synopsis:** xtotroff [-r resolution] [-s point-size] font-map\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| -r | — | — | Set the resolution for all font patterns in font-map. The value is used for both the horizontal and vertical resolution. |\n| -s | — | — | Set the point size for all font patterns in font-map. If not specified, a size of 10pt is assumed. |\n| -v | — | — |  |\n| — | --version | — | Display version information and exit. |\n\n## See Also\n\n- groff(1)\n- gxditview(1)\n- troff(1)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (2 lines) — 3 subsections\n  - xtotroff --help (1 lines)\n  - xtotroff -v (1 lines)\n  - xtotroff --version (1 lines)\n- **DESCRIPTION** (9 lines)\n- **OPTIONS** (4 lines) — 4 subsections\n  - -r (4 lines)\n  - -s (3 lines)\n  - -v (1 lines)\n  - --version (2 lines)\n- **BUGS** (2 lines)\n- **SEE ALSO** (5 lines)\n\n## Full Content\n\n### NAME\n\nxtotroff - convert X font metrics into GNU troff font metrics\n\n### SYNOPSIS\n\nxtotroff [-r resolution] [-s point-size] font-map\n\n#### xtotroff --help\n\n#### xtotroff -v\n\n#### xtotroff --version\n\n### DESCRIPTION\n\nxtotroff  takes a font-map, which maps groff(1) fonts to X11 fonts, creates GNU troff(1) met‐\nric files for all fonts listed.  Each line in font-map consists of a groff font name and an X\nfont name as a X Logical Font Description (XLFD) pattern, separated by whitespace.  Example:\n\nTB -adobe-times-bold-r-normal--*-*-*-*-p-*-iso8859-1\n\nThe  wildcards in the patterns are filled with the arguments to the -r and -s switches.  If a\nfont name is still ambiguous, xtotroff aborts.\n\n### OPTIONS\n\nWhitespace is permitted between a command-line option and its argument.\n\n--help Display a usage message and exit.\n\n#### -r\n\nSet the resolution for all font patterns in font-map.  The value is used for both  the\nhorizontal  and  vertical  resolution.  If not specified, a resolution of 75dpi is as‐\nsumed.\n\n#### -s\n\nSet the point size for all font patterns in font-map.  If not  specified,  a  size  of\n10pt is assumed.\n\n#### -v\n\n#### --version\n\nDisplay version information and exit.\n\n### BUGS\n\nThe only supported font encodings are “iso8859-1” and “adobe-fontspecific”.\n\n### SEE ALSO\n\ngroff(1), gxditview(1), troff(1)\n\n\n\ngroff 1.22.4                                23 March 2022                                XTOTROFF(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "xtotroff",
        "section": "1",
        "mode": "man",
        "summary": "xtotroff - convert X font metrics into GNU troff font metrics",
        "synopsis": "xtotroff [-r resolution] [-s point-size] font-map",
        "flags": [
            {
                "flag": "-r",
                "long": null,
                "arg": null,
                "description": "Set the resolution for all font patterns in font-map. The value is used for both the horizontal and vertical resolution. If not specified, a resolution of 75dpi is as‐ sumed."
            },
            {
                "flag": "-s",
                "long": null,
                "arg": null,
                "description": "Set the point size for all font patterns in font-map. If not specified, a size of 10pt is assumed."
            },
            {
                "flag": "-v",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "",
                "long": "--version",
                "arg": null,
                "description": "Display version information and exit."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "groff",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/groff/1/json"
            },
            {
                "name": "gxditview",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/gxditview/1/json"
            },
            {
                "name": "troff",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/troff/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": [
                    {
                        "name": "xtotroff --help",
                        "lines": 1
                    },
                    {
                        "name": "xtotroff -v",
                        "lines": 1
                    },
                    {
                        "name": "xtotroff --version",
                        "lines": 1
                    }
                ]
            },
            {
                "name": "DESCRIPTION",
                "lines": 9,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 4,
                "subsections": [
                    {
                        "name": "-r",
                        "lines": 4,
                        "flag": "-r"
                    },
                    {
                        "name": "-s",
                        "lines": 3,
                        "flag": "-s"
                    },
                    {
                        "name": "-v",
                        "lines": 1,
                        "flag": "-v"
                    },
                    {
                        "name": "--version",
                        "lines": 2,
                        "long": "--version"
                    }
                ]
            },
            {
                "name": "BUGS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 5,
                "subsections": []
            }
        ]
    }
}