From 9b1a7933abd546e9e473f267cf90293445d7e048 Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Sun, 3 Aug 2014 12:19:20 +0000 Subject: omegafonts: Fixed a character dimension rounding bug omegafonts,omegaware: Added character dimension rounding tests git-svn-id: svn://tug.org/texlive/trunk@34806 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/omegafonts/shorten.test | 28 +++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100755 Build/source/texk/web2c/omegafonts/shorten.test (limited to 'Build/source/texk/web2c/omegafonts/shorten.test') diff --git a/Build/source/texk/web2c/omegafonts/shorten.test b/Build/source/texk/web2c/omegafonts/shorten.test new file mode 100755 index 00000000000..10ede611451 --- /dev/null +++ b/Build/source/texk/web2c/omegafonts/shorten.test @@ -0,0 +1,28 @@ +#! /bin/sh + +# Copyright (C) 2014 Peter Breitenlohner +# You may freely use, modify and/or distribute this file. + +tests=tests + +test -d $tests || mkdir -p $tests + +TEXMFCNF=$srcdir/../../kpathsea +export TEXMFCNF + +sed -e'/CHECKSUM/d' $srcdir/$tests/shorten.opl >$tests/shortend.in + +echo && echo "pltotf $tests/shortend.in $tests/shortend.tfm" && \ + ../pltotf $tests/shortend.in $tests/shortend.tfm || exit + +echo && echo "omfonts -ofm2opl $tests/shorten.tfm $tests/shortend.pl" && \ + ./omfonts -ofm2opl $tests/shortend.tfm $tests/shortend.pl || exit + +echo && echo "omfonts -opl2ofm $tests/shorten $tests/shortend" && \ + ./omfonts -opl2ofm $srcdir/$tests/shorten $tests/shortend || exit + +echo && echo "omfonts -ofm2opl $tests/shorten $tests/shortend" && \ + ./omfonts -ofm2opl $tests/shortend $tests/shortend || exit + +diff $tests/shortend.pl $tests/shortend.opl || exit + -- cgit v1.2.3