pbmtextps

Updated: 8 May 2002
Index
 

NAME

pbmtextps - render text into a bitmap using a postscript interpreter  

SYNOPSIS

pbmtextps [-font fontname] [-fontsize fontsize] [-resolution resolution] [-stroke strokesize] text  

DESCRIPTION

Takes a single line of text from the command line and renders it into a bitmap.

The bitmap 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.  

OPTIONS

-font
By default, pbmtext uses TimesRoman.

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.

-fontsize
Size of font in points. This defaults to 24 points.
-resolution
Resolution of image in DPI. Default is 150. Since PBM files do not have any inherent size, this resolution is in relation to the font size.
-stroke
Width of line to use for stroke font. There is no default stroke width because the letters are solid by default.
 

USAGE

You can generate antialiased text by using a larger resolution than the default and scaling the image down using pnmscale.

See the man page for the similar pbmtext for more advice on usage.  

SEE ALSO

pbmtext, pnmcut, pnmcrop, pnmcomp, ppmchange, pnmrotate, pnmscale, ppmlabel, pbm.html

 

AUTHOR

Copyright (C) 2002 by James McCann


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
USAGE
SEE ALSO
AUTHOR