summaryrefslogtreecommitdiff
path: root/dviware/umddvi/misc/checkw.1
blob: 821d3a1eaeeaa3878c06ec550f1533d29761bb6a (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
41
42
43
44
45
46
47
48
49
50
.TH CHECKW 1
.SH NAME
checkw \- check and patch up PXL files whose TFM widths are wrong
.SH SYNOPSIS
.B checkw
[
.B -f
] [
.B -q
] [
.B -s
]
.I tfmfile
.I pxlfile
.SH DESCRIPTION
.I Checkw
is a program that ought to be unnecessary, but there is
a bug in Metafont that produces incorrect TFM widths in PXL
files for characters that are zero pixels wide.
.I Checkw
reads the named TFM and PXL files, which should
be for the same font, and compares
the width tables of each.  A message is printed indicating whether
the tables match.  If the
.B -f
(``fix'') option is given,
.I checkw
writes the correct widths back to the PXL file.
.PP
The
.B -s
(``silent'') option makes
.I checkw
operate silently (only exit status is returned).  The
.B -q
(``quiet'') option makes checkw complain if the TFM and PXL
files do not match, but otherwise run silently.
.SH DIAGNOSTICS
Exit value is 0 if the fonts match or were corrected, 1 if they
do not, and 2 for any other error.  Various messages may be
printed to the standard error output if things go wrong; they
are intended to be self explanatory, unless they should ``never happen''.
If the message does not
mention a damaged PXL file, the file has not been touched.
.SH AUTHOR
Chris Torek, University of Maryland
\" .SH FILES
\" .SH "SEE ALSO"
.SH BUGS
The bugs are in Metafont. \" :-)