| 1 |
\ |
| 2 |
.\" This man page was generated by the Netpbm tool 'makeman' from HTML source. |
| 3 |
.\" Do not hand-hack it! If you have bug fixes or improvements, please find |
| 4 |
.\" the corresponding HTML page on the Netpbm website, generate a patch |
| 5 |
.\" against that, and send it to the Netpbm maintainer. |
| 6 |
.TH "Pbmtopk User Manual" 1 "06 August 1990" "netpbm documentation" |
| 7 |
|
| 8 |
.SH NAME |
| 9 |
pbmtopk - convert a PBM image into a packed (PK) format font |
| 10 |
|
| 11 |
.UN synopsis |
| 12 |
.SH SYNOPSIS |
| 13 |
|
| 14 |
\fBpbmtopk\fP |
| 15 |
\fIpkfile\fP[\fB.pk\fP] |
| 16 |
\fItfmfile\fP[\fB.tfm\fP] |
| 17 |
\fIresolution\fP |
| 18 |
[\fB-s\fP \fIdesignsize\fP] |
| 19 |
[\fB-p\fP \fInum\fP \fIparam\fP...] |
| 20 |
[\fB-C\fP \fIcodingscheme\fP] |
| 21 |
[\fB-F\fP \fIfamily\fP] |
| 22 |
[\fB-f\fP \fIoptfile\fP] |
| 23 |
[\fB-c\fP \fInum\fP] |
| 24 |
[\fB-W\fP \fIwidth\fP] |
| 25 |
[\fB-H\fP \fIheight\fP] |
| 26 |
[\fB-D\fP \fIdepth\fP] |
| 27 |
[\fB-I\fP \fIital\fP] |
| 28 |
[\fB-h\fP \fIhoriz\fP] |
| 29 |
[\fB-v\fP \fIvert\fP] |
| 30 |
[\fB-x\fP \fIxoff\fP] |
| 31 |
[\fB-y\fP \fIyoff\fP] |
| 32 |
[\fIpbmfile\fP ...] |
| 33 |
|
| 34 |
.UN description |
| 35 |
.SH DESCRIPTION |
| 36 |
.PP |
| 37 |
This program is part of |
| 38 |
.BR "Netpbm" (1)\c |
| 39 |
\&. |
| 40 |
.PP |
| 41 |
\fBpbmtopk\fP reads PBM images as input and produces a packed (PK) |
| 42 |
font file and a TFM (TeX font metric) file as output. The resolution |
| 43 |
parameter indicates the resolution of the font, in dots per inch. If |
| 44 |
the filename "-" is used for any of the filenames, |
| 45 |
\fBpbmtopk\fP uses Standard Input or Standard Output. |
| 46 |
|
| 47 |
.UN options |
| 48 |
.SH OPTIONS |
| 49 |
.PP |
| 50 |
In addition to the options common to all programs based on libnetpbm |
| 51 |
(most notably \fB-quiet\fP, see |
| 52 |
.UR index.html#commonoptions |
| 53 |
Common Options |
| 54 |
.UE |
| 55 |
\&), \fBpbmtopk\fP recognizes the following |
| 56 |
command line options: |
| 57 |
|
| 58 |
|
| 59 |
.TP |
| 60 |
\fB-s\fP \fIdesignsize\fP |
| 61 |
Sets the design size of the font, in TeX's points (72.27pt to the inch). The |
| 62 |
default design size is 1. The TFM parameters are given as multiples of the |
| 63 |
design size. |
| 64 |
|
| 65 |
.TP |
| 66 |
\fB-p\fP \fInum\fP \fIparam\fP... |
| 67 |
Sets the first num font parameters for the font. The first seven |
| 68 |
parameters are the slant, interword spacing, interword space |
| 69 |
stretchability, interword space shrinkability, x-height, quad width, |
| 70 |
and post-sentence extra space of the font. Math and symbol fonts may |
| 71 |
have more parameters; see The TeXbook for a list of these. Reasonable |
| 72 |
default values are chosen for parameters which are not specified. |
| 73 |
|
| 74 |
.TP |
| 75 |
\fB-C\fP \fIcodingscheme\fP |
| 76 |
Sets the coding scheme comment in the TFM file. |
| 77 |
|
| 78 |
.TP |
| 79 |
\fB-F\fP \fIfamily\fP |
| 80 |
Sets the font family comment in the TFM file. |
| 81 |
|
| 82 |
.TP |
| 83 |
\fB-f\fP \fIoptfile\fP |
| 84 |
Reads the file optfile, which should contain a lines of the form: |
| 85 |
|
| 86 |
.nf |
| 87 |
filename xoff yoff horiz vert width height depth ital |
| 88 |
|
| 89 |
.fi |
| 90 |
.sp |
| 91 |
The PBM files specified by the filename parameters are inserted |
| 92 |
consecutively in the font with the specified attributes. If any of the |
| 93 |
attributes are omitted, or replaced with "*", a default |
| 94 |
value will be calculated from the size of the bitmap. The settings of |
| 95 |
the -W, -H, -D, -I, -h, -v, -x, and -y options do not affected |
| 96 |
characters created in this way. The character number can be changed |
| 97 |
by including a line starting with "=", followed by the new |
| 98 |
number. Lines beginning with "%" or "#" are |
| 99 |
ignored. |
| 100 |
|
| 101 |
.TP |
| 102 |
\fB-c\fP \fInum\fP |
| 103 |
Sets the character number of the next bitmap encountered to num. |
| 104 |
|
| 105 |
.TP |
| 106 |
\fB-W\fP \fIwidth\fP |
| 107 |
Sets the TFM width of the next character to width (in design size |
| 108 |
multiples). |
| 109 |
|
| 110 |
.TP |
| 111 |
\fB-H\fP \fIheight\fP |
| 112 |
Sets the TFM height of the next character to height (in design |
| 113 |
size multiples). |
| 114 |
|
| 115 |
.TP |
| 116 |
\fB-D\fP \fIdepth\fP |
| 117 |
Sets the TFM depth of the next character to depth (in design size |
| 118 |
multiples). |
| 119 |
|
| 120 |
.TP |
| 121 |
\fB-I\fP \fIital\fP |
| 122 |
Sets the italic correction of the next character to ital (in |
| 123 |
design size multiples). |
| 124 |
|
| 125 |
.TP |
| 126 |
\fB-h\fP \fIhoriz\fP |
| 127 |
Sets the horizontal escapement of the next character to horiz (in |
| 128 |
pixels). |
| 129 |
|
| 130 |
.TP |
| 131 |
\fB-v\fP \fIvert\fP |
| 132 |
Sets the vertical escapement of the next character to vert (in pixels). |
| 133 |
|
| 134 |
.TP |
| 135 |
\fB-x\fP \fIxoff\fP |
| 136 |
Sets the horizontal offset of the next character to xoff (in |
| 137 |
pixels). |
| 138 |
|
| 139 |
.TP |
| 140 |
\fB-y\fP \fIyoff\fP |
| 141 |
Sets the vertical offset of the next character to yoff (in pixels, |
| 142 |
from the top row). |
| 143 |
|
| 144 |
|
| 145 |
|
| 146 |
.UN seealso |
| 147 |
.SH SEE ALSO |
| 148 |
.BR "pktopbm" (1)\c |
| 149 |
\&, |
| 150 |
.BR "pbm" (1)\c |
| 151 |
\& |
| 152 |
|
| 153 |
.UN author |
| 154 |
.SH AUTHOR |
| 155 |
.PP |
| 156 |
Adapted from Tom Rokicki's pxtopk by Angus Duggan <\[email protected]\fP>. |
| 157 |
.SH DOCUMENT SOURCE |
| 158 |
This manual page was generated by the Netpbm tool 'makeman' from HTML |
| 159 |
source. The master documentation is at |
| 160 |
.IP |
| 161 |
.B http://netpbm.sourceforge.net/doc/pbmtopk.html |
| 162 |
.PP |