{
    "mode": "man",
    "parameter": "pbmtextps",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/pbmtextps/1/json",
    "generated": "2026-05-30T06:06:06Z",
    "synopsis": "pbmtextps [-font fontfile] [-fontsize fontsize] [-resolution resolution] [-stroke strokesize]\n[-verbose [text]",
    "sections": {
        "NAME": {
            "content": "pbmtextps - render text into a bitmap via postscript\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "pbmtextps [-font fontfile] [-fontsize fontsize] [-resolution resolution] [-stroke strokesize]\n[-verbose [text]\n\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "pbmtextps takes a single line of text from the command line and renders it into a PBM image.\n\nThe image is cropped at the top and the right. It is not cropped at the  left  or  bottom  so\nthat the text begins at the same position relative to the origin. You can use pnmcrop to crop\nit all the way.\n\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-font -font",
                    "content": "option.  This is the name of any valid postscript font which is installed on your sys‐\ntem.\n\n"
                },
                {
                    "name": "-fontsize",
                    "content": "Size of font in points. See the -resolution option for information on how to interpret\nthis size.\n\nDefault is 24 points.\n\n"
                },
                {
                    "name": "-resolution",
                    "content": "Resolution  in  dots per inch of distance measurements pertaining to generation of the\nimage. PBM images don't have any inherent resolution, so a distance such as  \"1  inch\"\ndoesn't  mean  anything  unless  you separately specify what resolution you're talking\nabout. That's what this option does.\n\nIn particular, the meaning of the font size is determined by this resolution.  If  the\nfont size is 24 points and the resolution is 150 dpi, then the font size is 50 pixels.\n\nDefault is 150 dpi.\n\n\n"
                },
                {
                    "name": "-stroke",
                    "content": "Width  of  line  to  use for stroke font. There is no default stroke width because the\nletters are solid by default.\n\n\n"
                }
            ]
        },
        "USAGE": {
            "content": "See pbmtext for usage examples.\n\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "pbmtext(1),  pnmcut(1),  pnmcrop(1),  pnmcomp(1),  ppmchange(1),  pnmrotate(1),  ppmlabel(1),\npbm(5)\n\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Copyright (C) 2002 by James McCann\n\n\n\n\n02 January 2003                              pbmtextps(1)",
            "subsections": []
        }
    },
    "summary": "pbmtextps - render text into a bitmap via postscript",
    "flags": [
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "option. This is the name of any valid postscript font which is installed on your sys‐ tem."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Size of font in points. See the -resolution option for information on how to interpret this size. Default is 24 points."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Resolution in dots per inch of distance measurements pertaining to generation of the image. PBM images don't have any inherent resolution, so a distance such as \"1 inch\" doesn't mean anything unless you separately specify what resolution you're talking about. That's what this option does. In particular, the meaning of the font size is determined by this resolution. If the font size is 24 points and the resolution is 150 dpi, then the font size is 50 pixels. Default is 150 dpi."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Width of line to use for stroke font. There is no default stroke width because the letters are solid by default."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "pbmtext",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/pbmtext/1/json"
        },
        {
            "name": "pnmcut",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/pnmcut/1/json"
        },
        {
            "name": "pnmcrop",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/pnmcrop/1/json"
        },
        {
            "name": "pnmcomp",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/pnmcomp/1/json"
        },
        {
            "name": "ppmchange",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/ppmchange/1/json"
        },
        {
            "name": "pnmrotate",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/pnmrotate/1/json"
        },
        {
            "name": "ppmlabel",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/ppmlabel/1/json"
        },
        {
            "name": "pbm",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/pbm/5/json"
        }
    ]
}