.TL Pbmtopk User Manual .SH 1 pbmtopk .LP Updated: 6 August 1990 .br Table Of Contents .SH 2 NAME .LP pbmtopk - convert a PBM image into a packed (PK) format font .SH 2 SYNOPSIS .LP \fBpbmtopk\fR \fIpkfile\fR[\fB.pk\fR] \fItfmfile\fR[\fB.tfm\fR] \fIresolution\fR [\fB-s\fR \fIdesignsize\fR] [\fB-p\fR \fInum\fR \fIparam\fR...] [\fB-C\fR \fIcodingscheme\fR] [\fB-F\fR \fIfamily\fR] [\fB-f\fR \fIoptfile\fR] [\fB-c\fR \fInum\fR] [\fB-W\fR \fIwidth\fR] [\fB-H\fR \fIheight\fR] [\fB-D\fR \fIdepth\fR] [\fB-I\fR \fIital\fR] [\fB-h\fR \fIhoriz\fR] [\fB-v\fR \fIvert\fR] [\fB-x\fR \fIxoff\fR] [\fB-y\fR \fIyoff\fR] [\fIpbmfile\fR ...] .SH 2 DESCRIPTION .LP .LP This program is part of Netpbm. .LP \fBpbmtopk\fR reads PBM images as input and produces a packed (PK) font file and a TFM (TeX font metric) file as output. The resolution parameter indicates the resolution of the font, in dots per inch. If the filename "-" is used for any of the filenames, \fBpbmtopk\fR uses Standard Input or Standard Output. .SH 2 OPTIONS .LP .RS .IP "\fB-s\fR \fIdesignsize\fR" Sets the design size of the font, in TeX's points (72.27pt to the inch). The default design size is 1. The TFM parameters are given as multiples of the design size. .IP "\fB-p\fR \fInum\fR \fIparam\fR..." Sets the first num font parameters for the font. The first seven parameters are the slant, interword spacing, interword space stretchability, interword space shrinkability, x-height, quad width, and post-sentence extra space of the font. Math and symbol fonts may have more parameters; see The TeXbook for a list of these. Reasonable default values are chosen for parameters which are not specified. .IP "\fB-C\fR \fIcodingscheme\fR" Sets the coding scheme comment in the TFM file. .IP "\fB-F\fR \fIfamily\fR" Sets the font family comment in the TFM file. .IP "\fB-f\fR \fIoptfile\fR" Reads the file optfile, which should contain a lines of the form: .DS L filename xoff yoff horiz vert width height depth ital .DE .LP The PBM files specified by the filename parameters are inserted consecutively in the font with the specified attributes. If any of the attributes are omitted, or replaced with "*", a default value will be calculated from the size of the bitmap. The settings of the -W, -H, -D, -I, -h, -v, -x, and -y options do not affected characters created in this way. The character number can be changed by including a line starting with "=", followed by the new number. Lines beginning with "%" or "#" are ignored. .IP "\fB-c\fR \fInum\fR" Sets the character number of the next bitmap encountered to num. .IP "\fB-W\fR \fIwidth\fR" Sets the TFM width of the next character to width (in design size multiples). .IP "\fB-H\fR \fIheight\fR" Sets the TFM height of the next character to height (in design size multiples). .IP "\fB-D\fR \fIdepth\fR" Sets the TFM depth of the next character to depth (in design size multiples). .IP "\fB-I\fR \fIital\fR" Sets the italic correction of the next character to ital (in design size multiples). .IP "\fB-h\fR \fIhoriz\fR" Sets the horizontal escapement of the next character to horiz (in pixels). .IP "\fB-v\fR \fIvert\fR" Sets the vertical escapement of the next character to vert (in pixels). .IP "\fB-x\fR \fIxoff\fR" Sets the horizontal offset of the next character to xoff (in pixels). .IP "\fB-y\fR \fIyoff\fR" Sets the vertical offset of the next character to yoff (in pixels, from the top row). .RE .SH 2 SEE ALSO .LP pktopbm, pbm .SH 2 AUTHOR .LP .LP Adapted from Tom Rokicki's pxtopk by Angus Duggan . .br \l'5i' .SH 2 Table Of Contents .LP .IP \(bu NAME .IP \(bu SYNOPSIS .IP \(bu DESCRIPTION .IP \(bu OPTIONS .IP \(bu SEE ALSO .IP \(bu AUTHOR .LP