summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/omegafonts/charwd.test
blob: e0881a6f57000b73f95b36e408e36f6e73f8b9b3 (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
#! /bin/sh

# Copyright (C) 2010, 2011 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.

test -d tests || mkdir -p tests

grep -v 'CHARWD R' $srcdir/tests/charwd-r.pl >tests/charwdr.pl

TEXMFCNF=$srcdir/../../kpathsea \
  ./omfonts -opl2ofm tests/charwdr.pl tests/charwdr.tfm || exit 1

TEXMFCNF=$srcdir/../../kpathsea \
  TFMFONTS=tests \
  ./omfonts -ofm2opl tests/charwdr.tfm tests/charwdr.xpl || exit 1

diff $srcdir/tests/charwd-r.pl tests/charwdr.xpl || exit 1

grep -v 'CHARWD R' $srcdir/tests/charwd-v.vpl >tests/charwdv.vpl

TEXMFCNF=$srcdir/../../kpathsea \
  ./omfonts -ovp2ovf tests/charwdv.vpl tests/charwdv.vf tests/charwdv.tfm || exit 1

TEXMFCNF=$srcdir/../../kpathsea \
  TFMFONTS=tests \
  ./omfonts -ofm2opl tests/charwdr.tfm tests/charwdr.xpl || exit 1

diff $srcdir/tests/charwd-r.pl tests/charwdr.xpl || exit 1

TEXMFCNF=$srcdir/../../kpathsea \
  TFMFONTS=tests \
  VFFONTS=tests \
  ./omfonts -ovf2ovp tests/charwdv.vf tests/charwdv.tfm tests/charwdv.xpl || exit 1

diff $srcdir/tests/charwd-v.vpl tests/charwdv.xpl || exit 1