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
65              The  PBM files specified by the filename parameters are inserted
66              consecutively in the font with the specified attributes. If  any
67              of  the  attributes are omitted, or replaced with "*", a default
68              value will be calculated from the size of the bitmap.  The  set‐
69              tings  of  the -W, -H, -D, -I, -h, -v, -x, and -y options do not
70              affected characters created in this way.  The  character  number
71              can  be  changed by including a line starting with "=", followed
72              by the new number.  Lines beginning with "%" or "#" are ignored.
73
74
75       -c num Sets the character number of the next bitmap encountered to num.
76
77
78       -W width
79              Sets the TFM width of the next character  to  width  (in  design
80              size multiples).
81
82
83       -H height
84              Sets  the  TFM height of the next character to height (in design
85              size multiples).
86
87
88       -D depth
89              Sets the TFM depth of the next character  to  depth  (in  design
90              size multiples).
91
92
93       -I ital
94              Sets the italic correction of the next character to ital (in de‐
95              sign size multiples).
96
97
98       -h horiz
99              Sets the horizontal escapement of the next  character  to  horiz
100              (in pixels).
101
102
103       -v vert
104              Sets  the  vertical escapement of the next character to vert (in
105              pixels).
106
107
108       -x xoff
109              Sets the horizontal offset of the next  character  to  xoff  (in
110              pixels).
111
112
113       -y yoff
114              Sets  the vertical offset of the next character to yoff (in pix‐
115              els, from the top row).
116
117
118
119

SEE ALSO

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

AUTHOR

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

DOCUMENT SOURCE

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