summaryrefslogtreecommitdiff
path: root/Build/source/texk/ttfdump/tests/ttfdump.test
blob: deddc5898048ad441db66adc72288147015d54d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /bin/sh

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

rm -rf FonetikaDaniaIwonaeRegular.ttf ttfdump.glyf ttfdump.head
cp $srcdir/tests/FonetikaDaniaIwonaeRegular.ttf .

./ttfdump -t head -o ttfdump.head FonetikaDaniaIwonaeRegular.ttf || exit 1
diff -b $srcdir/tests/ttfdump.head ttfdump.head || exit 1

./ttfdump -t glyf -g 1 -o ttfdump.glyf FonetikaDaniaIwonaeRegular.ttf || exit 1
diff -b $srcdir/tests/ttfdump.glyf ttfdump.glyf || exit 1