blob: 702329033235226f83188ccb9137da4abf48893a (
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-2013 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.
test -d ptests || mkdir -p ptests
# 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 ptests/x$font.tfm && \
cmp $testdir/$font.tfm ptests/x$font.tfm || exit 1
TEXMFCNF=$srcdir/../kpathsea \
./ptftopl -charcode-format octal -verbose $testdir/$font.tfm ptests/x$font.pl || exit 1
./ppltotf ptests/x$font ptests/xx$font && \
cmp $testdir/$font.tfm ptests/xx$font.tfm || exit 1
TEXMFCNF=$srcdir/../kpathsea TFMFONTS=ptests \
./ptftopl -charcode-format=octal xx$font ptests/xx$font && \
diff ptests/x$font.pl ptests/xx$font.pl || exit 1
done
|