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

NAME

6       pbmtopk - convert a PBM image into a packed (PK) format font
7
8

SYNOPSIS

10       pbmtopk  pkfile[.pk]  tfmfile[.tfm]  resolution [-s designsize] [-p num
11       param...]  [-C codingscheme] [-F family]  [-f  optfile]  [-c  num]  [-W
12       width]  [-H height] [-D depth] [-I ital] [-h horiz] [-v vert] [-x xoff]
13       [-y yoff] [pbmfile ...]
14
15

DESCRIPTION

17       This program is part of Netpbm(1).
18
19       pbmtopk reads PBM images as input and produces a packed (PK) font  file
20       and  a  TFM  (TeX font metric) file as output. The resolution parameter
21       indicates the resolution of the font, in dots per inch. If the filename
22       "-"  is  used  for any of the filenames, pbmtopk uses Standard Input or
23       Standard Output.
24
25

OPTIONS

27       In addition to the options common to all programs  based  on  libnetpbm
28       (most notably -quiet, see
29        Common  Options  ⟨index.html#commonoptions⟩  ), pbmtopk recognizes the
30       following command line options:
31
32
33
34       -s designsize
35              Sets the design size of the font, in TeX's  points  (72.27pt  to
36              the  inch). The default design size is 1. The TFM parameters are
37              given as multiples of the design size.
38
39
40       -p num param...
41              Sets the first num font parameters for the font. The first seven
42              parameters  are  the  slant,  interword spacing, interword space
43              stretchability, interword space  shrinkability,  x-height,  quad
44              width,  and post-sentence extra space of the font. Math and sym‐
45              bol fonts may have more parameters; see The TeXbook for  a  list
46              of  these.  Reasonable  default values are chosen for parameters
47              which are not specified.
48
49
50       -C codingscheme
51              Sets the coding scheme comment in the TFM file.
52
53
54       -F family
55              Sets the font family comment in the TFM file.
56
57
58       -f optfile
59              Reads the file optfile, which should  contain  a  lines  of  the
60              form:
61
62                 filename xoff yoff horiz vert width height depth ital
63
64              The  PBM files specified by the filename parameters are inserted
65              consecutively in the font with the specified attributes. If  any
66              of  the  attributes are omitted, or replaced with "*", a default
67              value will be calculated from the size of the bitmap.  The  set‐
68              tings  of  the -W, -H, -D, -I, -h, -v, -x, and -y options do not
69              affected characters created in this way.  The  character  number
70              can  be  changed by including a line starting with "=", followed
71              by the new number.  Lines beginning with "%" or "#" are ignored.
72
73
74       -c num Sets the character number of the next bitmap encountered to num.
75
76
77       -W width
78              Sets the TFM width of the next character  to  width  (in  design
79              size multiples).
80
81
82       -H height
83              Sets  the  TFM height of the next character to height (in design
84              size multiples).
85
86
87       -D depth
88              Sets the TFM depth of the next character  to  depth  (in  design
89              size multiples).
90
91
92       -I ital
93              Sets  the  italic  correction  of the next character to ital (in
94              design size multiples).
95
96
97       -h horiz
98              Sets the horizontal escapement of the next  character  to  horiz
99              (in pixels).
100
101
102       -v vert
103              Sets  the  vertical escapement of the next character to vert (in
104              pixels).
105
106
107       -x xoff
108              Sets the horizontal offset of the next  character  to  xoff  (in
109              pixels).
110
111
112       -y yoff
113              Sets  the vertical offset of the next character to yoff (in pix‐
114              els, from the top row).
115
116
117
118

SEE ALSO

120       pktopbm(1), pbm(1)
121
122

AUTHOR

124       Adapted from Tom Rokicki's pxtopk by Angus Duggan <ajcd@dcs.ed.ac.uk>.
125

DOCUMENT SOURCE

127       This manual page was generated by the Netpbm tool 'makeman'  from  HTML
128       source.  The master documentation is at
129
130              http://netpbm.sourceforge.net/doc/pbmtopk.html
131
132netpbm documentation            06 August 1990          Pbmtopk User Manual(0)
Impressum