This program is part of Netpbm.
pbmtextps takes a single line of text from the command line and renders it into a PBM image. The image is of a single line of text; newline characters in the input have no effect.
The image is cropped at the top and the right. It is not cropped at the left or bottom so that the text begins at the same position relative to the origin. You can use pnmcrop to crop it all the way.
See pbmtext for a more sophisticated generator of text, but using less common font formats. pbmtext can generate multiple lines of text.
The -plain common option has no effect before Netpbm 10.42 (March 2008). The output is always raw PBM.
You can specify the font to use with the -font option. This is the name of any valid postscript font which is installed on your system.
Default is 24 points.
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.
See the manual for the similar pbmtext for more advice on usage.
pbmtextps was added to Netpbm in Release 10.0 (June 2002).