# pbmtextps(1) - man - phpMan

[pbmtextps(1)](https://www.chedong.com/phpMan.php/man/pbmtextps/1/markdown)                           General Commands Manual                          [pbmtextps(1)](https://www.chedong.com/phpMan.php/man/pbmtextps/1/markdown)



## NAME
       pbmtextps - render text into a bitmap via postscript

## SYNOPSIS
       **pbmtextps** [**-font** _fontfile_] [**-fontsize** _fontsize_] [**-resolution** _resolution_] [**-stroke** _strokesize_]
       [**-verbose** [_text_]


## DESCRIPTION
       **pbmtextps** takes a single line of text from the command line and renders it into a PBM image.

       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.


## OPTIONS
### -font -font
              option.  This is the name of any valid postscript font which is installed on your sys‐
              tem.


### -fontsize
              Size of font in points. See the **-resolution** option for information on how to interpret
              this size.

              Default is 24 points.


### -resolution
              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.



### -stroke
              Width  of  line  to  use for stroke font. There is no default stroke width because the
              letters are solid by default.



## USAGE
       See **pbmtext** for usage examples.


## SEE ALSO
       [**pbmtext**(1)](https://www.chedong.com/phpMan.php/man/pbmtext/1/markdown),  [**pnmcut**(1)](https://www.chedong.com/phpMan.php/man/pnmcut/1/markdown),  [**pnmcrop**(1)](https://www.chedong.com/phpMan.php/man/pnmcrop/1/markdown),  [**pnmcomp**(1)](https://www.chedong.com/phpMan.php/man/pnmcomp/1/markdown),  [**ppmchange**(1)](https://www.chedong.com/phpMan.php/man/ppmchange/1/markdown),  [**pnmrotate**(1)](https://www.chedong.com/phpMan.php/man/pnmrotate/1/markdown),  [**ppmlabel**(1)](https://www.chedong.com/phpMan.php/man/ppmlabel/1/markdown),
       [**pbm**(5)](https://www.chedong.com/phpMan.php/man/pbm/5/markdown)


## AUTHOR
       Copyright (C) 2002 by James McCann




                                           02 January 2003                              [pbmtextps(1)](https://www.chedong.com/phpMan.php/man/pbmtextps/1/markdown)
