blob: 809e000be2fbacaedd8a83b01a6a7908ea3e1201 (
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
51
52
53
54
55
56
57
58
59
60
61
|
#! /bin/sh -vx
# $Id$
# Copyright 2017-2018 Karl Berry <tex-live@tug.org>
# Copyright 2013, 2014 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.
BinDir=${BinDir:-.}
ExeExt=${ExeExt:-}
_omfonts=$BinDir/omfonts$ExeExt
LC_ALL=C; export LC_ALL; LANGUAGE=C; export LANGUAGE
tests=tests
test -d $tests || mkdir -p $tests
rc=0
TEXMFCNF=$srcdir/../../kpathsea
OFMFONTS=./$tests
export TEXMFCNF OFMFONTS
$_omfonts -opl2ofm $srcdir/$tests/inbmp $tests/xinbmp || rc=1
$_omfonts -ofm2opl xinbmp $tests/xinbmp || rc=2
diff $srcdir/$tests/inbmp.opl $tests/xinbmp.opl || rc=3
$_omfonts -ovp2ovf $srcdir/$tests/overbmp.ovp $tests/xoverbmp || rc=4
$_omfonts -ofm2opl xoverbmp $tests/xoverbmp || rc=5
diff $srcdir/$tests/overbmp.opl $tests/xoverbmp.opl || rc=6
$_omfonts -ovf2ovp $tests/xoverbmp xoverbmp $tests/xoverbmp.ovp || rc=7
diff $srcdir/$tests/overbmp.ovp $tests/xoverbmp.ovp || rc=8
sed -e '/OFMLEVEL/s/H 0/H 1/' $tests/xinbmp.opl >$tests/xinbmp1.opl
$_omfonts -opl2ofm $tests/xinbmp1 $tests/xinbmp1 || rc=9
$_omfonts -ofm2opl xinbmp1 $tests/xinbmp2 || rc=10
diff $tests/xinbmp1.opl $tests/xinbmp1.opl || rc=11
sed -e '/OFMLEVEL/s/H 1/H 0/' -e 's/xinbmp)/xinbmp1)/;s/xoverbmp)/xoverbmp1)/' \
$tests/xoverbmp.ovp >$tests/xoverbmp1.ovp
$_omfonts -ovp2ovf $tests/xoverbmp1.ovp $tests/xoverbmp1 || rc=12
sed -e '/OFMLEVEL/s/H 1/H 0/' $tests/xoverbmp.opl >$tests/xoverbmp1.opl
$_omfonts -ofm2opl xoverbmp1 $tests/xoverbmp2 || rc=13
diff $tests/xoverbmp1.opl $tests/xoverbmp2.opl || rc=14
$_omfonts -ovf2ovp $tests/xoverbmp1 xoverbmp1 $tests/xoverbmp2 || rc=15
diff $tests/xoverbmp1.ovp $tests/xoverbmp2.ovp || rc=16
exit $rc
|