blob: 5c85fb1c683bfff44532076507da4b7763ada0bc (
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
|
#! /bin/sh
# Copyright (C) 2010 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.
test -d tests || mkdir -p tests
# Test inputs
testdir=$srcdir/ptexdir/tests
# Testing pPLtoTF/pTFtoPL for min10 (yoko=horiz) and tmin10 (tate=vert).
for font in min10 tmin10; do
./ppltotf -verbose $testdir/$font.pl tests/x$font.tfm && \
cmp $testdir/$font.tfm tests/x$font.tfm || exit 1
TEXMFCNF=$srcdir/../kpathsea \
./ptftopl -verbose $testdir/$font.tfm tests/x$font.pl || exit 1
./ppltotf tests/x$font tests/xx$font && \
cmp $testdir/$font.tfm tests/xx$font.tfm || exit 1
TEXMFCNF=$srcdir/../kpathsea TFMFONTS=tests \
./ptftopl xx$font tests/xx$font && \
diff tests/x$font.pl tests/xx$font.pl || exit 1
done
|