summaryrefslogtreecommitdiff
path: root/Build/source/texk/ttfdump/tests/ttfdump.test
blob: a4f7094079566ef40bb4aadd2f9c7da291afa427 (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 FonetikaDaniaIwonaeRegular.ttf -o ttfdump.head || exit 1
diff $srcdir/tests/ttfdump.head ttfdump.head || exit 1

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