summaryrefslogtreecommitdiff
path: root/dviware/umddvi/misc/check.sh
blob: db0be6513d10aa67e2a529db195f2cd6ae846453 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#! /bin/sh
#
# check - check the width tables of all the PXL fonts
#
# usage: check directory-name

case $# in
1) ;;
*) echo "usage: check directory-name" 1>&2; exit 1;;
esac

checker=`pwd`/checkw

cd "$1"

for tfm in *.tfm; do
	base=`basename $tfm .tfm`
	for pxl in $base.*pxl; do
		$checker -q $tfm $pxl
	done
done