#! /bin/sh # Copyright (C) 2012 Peter Breitenlohner # You may freely use, modify and/or distribute this file. TEXMFCNF=$srcdir/../kpathsea ENCFONTS=.:$srcdir/tests export TEXMFCNF ENCFONTS rm -f Ant* a_enhg3c.enc $LCDF_TYPETOOLS_TREE/otftotfm/otftotfm -e texnansx --glyphlist=$srcdir/$LCDF_TYPETOOLS_TREE/glyphlist.txt \ -p -fkern -fliga \ $srcdir/tests/antpolt-regular.otf Ant >Ant.map \ && sed -e '1d' Ant.pl >Ant.plx \ && diff Ant.plx $srcdir/tests/Ant.pl \ && diff Ant.map $srcdir/tests/Ant.map \ && sed -e '4d;/line:/,/Ant/d' a_enhg3c.enc >Ant.enc \ && diff Ant.enc $srcdir/tests/Ant.enc \ && cmp -s AntPolt-Regular.pfb $srcdir/tests/Ant.pfb || exit 1