blob: 87e746c1e079529ceae0e26d14386d47e87a30e8 (
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
|
#! /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.
LC_ALL=C; export LC_ALL; LANGUAGE=C; export LANGUAGE
test -d tests || mkdir -p tests
TEXMFCNF=$srcdir/../../kpathsea
OFMFONTS=./tests
export TEXMFCNF OFMFONTS
./omfonts -opl2ofm $srcdir/tests/inbmp tests/xinbmp || exit 1
./omfonts -ofm2opl xinbmp tests/xinbmp || exit 1
diff $srcdir/tests/inbmp.opl tests/xinbmp.opl || exit 1
./omfonts -ovp2ovf $srcdir/tests/overbmp.ovp tests/xoverbmp || exit 1
./omfonts -ofm2opl xoverbmp tests/xoverbmp || exit 1
diff $srcdir/tests/overbmp.opl tests/xoverbmp.opl || exit 1
./omfonts -ovf2ovp tests/xoverbmp xoverbmp tests/xoverbmp.ovp || exit 1
diff $srcdir/tests/overbmp.ovp tests/xoverbmp.ovp || exit 1
sed -e '/OFMLEVEL/s/H 0/H 1/' tests/xinbmp.opl >tests/xinbmp1.opl
./omfonts -opl2ofm tests/xinbmp1 tests/xinbmp1 || exit 1
./omfonts -ofm2opl xinbmp1 tests/xinbmp2 || exit 1
diff tests/xinbmp1.opl tests/xinbmp1.opl || exit 1
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 || exit 1
sed -e '/OFMLEVEL/s/H 1/H 0/' tests/xoverbmp.opl >tests/xoverbmp1.opl
./omfonts -ofm2opl xoverbmp1 tests/xoverbmp2 || exit 1
diff tests/xoverbmp1.opl tests/xoverbmp2.opl || exit 1
./omfonts -ovf2ovp tests/xoverbmp1 xoverbmp1 tests/xoverbmp2 || exit 1
diff tests/xoverbmp1.ovp tests/xoverbmp2.ovp || exit 1
|