| 1 |
#! /bin/sh -vx |
| 2 |
# Copyright 2017-2018 Karl Berry <[email protected]> |
| 3 |
# Copyright 2012 Peter Breitenlohner <[email protected]> |
| 4 |
# You may freely use, modify and/or distribute this file. |
| 5 |
|
| 6 |
LC_ALL=C; export LC_ALL; LANGUAGE=C; export LANGUAGE |
| 7 |
|
| 8 |
PATH=$LCDF_TYPETOOLS_TREE/cfftot1:$PATH # May need to run cfftot1, ... |
| 9 |
PATH=$LCDF_TYPETOOLS_TREE/t1dotlessj:$PATH # ... t1dotlessj, ... |
| 10 |
PATH=$LCDF_TYPETOOLS_TREE/ttftotype42:$PATH # ... or ttftotype42. |
| 11 |
export PATH |
| 12 |
TEXMFCNF=$srcdir/../kpathsea; export TEXMFCNF |
| 13 |
ENCFONTS=.:$srcdir/tests; export ENCFONTS |
| 14 |
|
| 15 |
rm -f Ant* a_enhg3c.enc |
| 16 |
|
| 17 |
$LCDF_TYPETOOLS_TREE/otftotfm/otftotfm -e texnansx --glyphlist=$srcdir/$LCDF_TYPETOOLS_TREE/glyphlist.txt \ |
| 18 |
-p -fkern -fliga \ |
| 19 |
$srcdir/tests/antpolt-regular.otf Ant >Ant.map \ |
| 20 |
&& sed -e '1d' Ant.pl >Ant.plx \ |
| 21 |
&& diff Ant.plx $srcdir/tests/Ant.pl \ |
| 22 |
&& diff Ant.map $srcdir/tests/Ant.map \ |
| 23 |
&& sed -e '4d;/line:/,/Ant/d' a_enhg3c.enc >Ant.enc \ |
| 24 |
&& diff Ant.enc $srcdir/tests/Ant.enc \ |
| 25 |
&& cmp -s AntPolt-Regular.pfb $srcdir/tests/Ant.pfb || exit 1 |
| 26 |
|