Debian Codegraph @

texk/web2c/omegafonts/shorten.test

raw
1 #! /bin/sh -vx
2 # $Id: shorten.test 67982 2023-08-19 15:10:25Z takuji $
3 # Copyright 2017 Karl Berry <[email protected]>
4 # Copyright 2014 Peter Breitenlohner <[email protected]>
5 # You may freely use, modify and/or distribute this file.
6
7 W2CDir=${W2CDir:-..}
8 BinDir=${BinDir:-.}
9 ExeExt=${ExeExt:-}
10 _pltotf=$W2CDir/pltotf$ExeExt
11 _omfonts=$BinDir/omfonts$ExeExt
12
13 tests=tests
14
15 test -d $tests || mkdir -p $tests
16
17 TEXMFCNF=$srcdir/../../kpathsea
18 export TEXMFCNF
19
20 echo && echo "pltotf $tests/shorten.opl $tests/shortend.tfm" && \
21 $_pltotf $srcdir/$tests/shorten.opl $tests/shortend.tfm || exit
22
23 echo && echo "omfonts -ofm2opl $tests/shorten.tfm $tests/shortend.pl" && \
24 $_omfonts -ofm2opl $tests/shortend.tfm $tests/shortend.pl || exit
25
26 echo && echo "omfonts -opl2ofm $tests/shorten $tests/shortend" && \
27 $_omfonts -opl2ofm $srcdir/$tests/shorten $tests/shortend || exit
28
29 echo && echo "omfonts -ofm2opl $tests/shorten $tests/shortend" && \
30 $_omfonts -ofm2opl $tests/shortend $tests/shortend || exit
31
32 diff $tests/shortend.pl $tests/shortend.opl || exit
33