1Pbmtextps User Manual(0)                              Pbmtextps User Manual(0)
2
3
4

NAME

6       pbmtextps - render text into a PBM image using a postscript interpreter
7
8

SYNOPSIS

10       pbmtextps  [-font  fontname]  [-fontsize fontsize] [-resolution resolu‐
11       tion] [-stroke strokesize] text
12
13

DESCRIPTION

15       This program is part of Netpbm(1).
16
17       pbmtextps takes a single line of text from the command line and renders
18       it  into  a  PBM image.  The image is of a single line of text; newline
19       characters in the input have no effect.
20
21       The image is cropped at the top and the right.  It is  not  cropped  at
22       the  left  or bottom so that the text begins at the same position rela‐
23       tive to the origin.  You can use pnmcrop to crop it all the way.
24
25       See pbmtext for a more sophisticated generator of text, but using  less
26       common font formats.  pbmtext can generate multiple lines of text.
27
28       The  -plain  common  option  ⟨index.html#commonoptions⟩   has no effect
29       before Netpbm 10.42 (March 2008).  The output is always raw PBM.
30
31

OPTIONS

33       -font  By default, pbmtextps uses TimesRoman.
34
35              You can specify the font to use with the -font option.  This  is
36              the name of any valid postscript font which is installed on your
37              system.
38
39
40       -fontsize
41              Size of font in points.  See the -resolution option for informa‐
42              tion on how to interpret this size.
43
44              Default is 24 points.
45
46
47       -resolution
48              Resolution  in dots per inch of distance measurements pertaining
49              to generation of the image.  PBM images don't have any  inherent
50              resolution, so a distance such as "1 inch" doesn't mean anything
51              unless you separately specify  what  resolution  you're  talking
52              about.  That's what this option does.
53
54              In  particular,  the  meaning  of the font size is determined by
55              this resolution.  If the font size is 24 points and the  resolu‐
56              tion is 150 dpi, then the font size is 50 pixels.
57
58              Default is 150 dpi.
59
60
61       -stroke
62              Width  of  line  to  use  for  stroke font.  There is no default
63              stroke width because the characters are solid by default.
64
65
66

USAGE

68       You can generate antialiased text by using a larger resolution than the
69       default and scaling the image down using pamscale.
70
71       See the manual for the similar pbmtext for more advice on usage.
72
73

HISTORY

75       pbmtextps was added to Netpbm in Release 10.0 (June 2002).
76
77
78

SEE ALSO

80       pbmtext(1),  pamcut(1),  pnmcrop(1),  pamcomp(1),  ppmchange(1), pnmro‐
81       tate(1), pamscale(1), ppmlabel(1), pbm(1)
82
83

AUTHOR

85       Copyright (C) 2002 by James McCann
86
87
88
89netpbm documentation           09 December 2007       Pbmtextps User Manual(0)
Impressum