1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
\
.\" This man page was generated by the Netpbm tool 'makeman' from HTML source.
.\" Do not hand-hack it! If you have bug fixes or improvements, please find
.\" the corresponding HTML page on the Netpbm website, generate a patch
.\" against that, and send it to the Netpbm maintainer.
.TH "Pktopbm User Manual" 1 "15 September 2023" "netpbm documentation"
.SH NAME
pktopbm - convert packed (PK) format font into PBM
.UN synopsis
.SH SYNOPSIS
pktopbm pkfile [ -x width ] [ -y height ] [-c num] pbmfile ...
.UN description
.SH DESCRIPTION
.PP
This program is part of
.BR "Netpbm" (1)\c
\&.
.PP
\fBpktopbm\fP reads a packed (PK) font file as input, and produces
PBM images as output. If the filename "-" is used for any of
the filenames, the standard input stream (or standard output where
appropriate) will be used. If either the width or height is specified,
this value will be used for all bitmaps produced. Also if one or both
values are specified, the bitmap will be relocated with the hoffset
and voffset given in the pkfile. The basepoint will be placed in the
lower left corner of the bitmap if the bitmap is bigger than the
specified size it will be truncated at the top or right.
.UN options
.SH OPTIONS
.PP
In addition to the options common to all programs based on libnetpbm
(most notably \fB-quiet\fP, see
.UR index.html#commonoptions
Common Options
.UE
\&), \fBpktopbm\fP recognizes the following
command line options:
.TP
\fB-character\fP \fInum\fP
This is the code point (character number) to which the first
specified output file pertains. Ergo, there is no output for any
code point lower than this.
.TP
\fB-x\fP \fIwidth\fP
The width of the image in columns.
The default is what is specified in the font file.
.TP
\fB-y\fP \fIwidth\fP
The height of the image in rows.
The default is what is specified in the font file.
.UN history
.SH HISTORY
.PP
Before Netpbm 11.04 (September 2023), the program would sometimes add
the suffix '.pk' to the specified input file name. It also
let you specify multiple \fB-c\fP options, with each applying to the
output file names that came after it.
.UN seealso
.SH SEE ALSO
.BR "pbmtopk" (1)\c
\&,
.BR "pbm" (1)\c
\&
.UN author
.SH AUTHOR
Adapted from Tom Rokicki's pxtopk by Angus Duggan <\fIajcd@dcs.ed.ac.uk\fP>. <\fIbartel@informatik.tu-muenchen.de\fP>
in March 1995.
.SH DOCUMENT SOURCE
This manual page was generated by the Netpbm tool 'makeman' from HTML
source. The master documentation is at
.IP
.B http://netpbm.sourceforge.net/doc/pktopbm.html
.PP
|