summaryrefslogtreecommitdiff
path: root/fonts/utilities/ps2pk/pk2bm.1
blob: d9537cc389bc605c9e54f5b4632289c9d159adc9 (plain)
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
.TH PK2BM 1 "30 August 2022"
.SH NAME
pk2bm \- create a bitmap from a TeX pkfont
.SH SYNOPSIS:
pk2bm [-bh] [-W\fIwidth\fP] [-H\fIheight\fP] -c\fIchar\fP pkfont 

pk2bm [-bh] [-W\fIwidth\fP] [-H\fIheight\fP] -o\fIoctchar\fP pkfont 
.SH DESCRIPTION
This program generates a bitmap (ASCII file) which can be used
to create X11 applications. The bitmap file consists of all pixels
of the specified character (via the -c or -o option) from 
the given pkfont. The format is described in bitmap(X11).
.PP
The pkfont is a packed fontfile generated by gftopk(TeX) from a 
gffont. A gffont is the output of METAFONT a program to design fonts
in a device independent way.
.PP
With the -b flag a bitmap is generated in which all black pixels are
drawn as a `*' and all white bits as a `.'. With the -h flag a 
hexadecimal bitmap dump is generated. 
.PP
The -W and/or -H options can be used to create a bitmap of
respectivally `width' and `height' pixels. The pk-bitmap will in
this case be centered according to these new dimensions.
.PP
The output is written to the standard output.
.SH SEE ALSO
.nf
`METAFONT', Donald Knuth.
`The PKtype processor', belonging to the METAFONTware.
bitmap(X11), 
gftopk(TeX), 
pktype(TeX), 
ps2pk(1)

.SH AUTHOR
.nf
Piet Tutelaers
Maintained in TeX Live; please send bug reports or other correspondence
to tex-k@tug.org (https://lists.tug.org/tex-k).