summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2010-03-02 10:03:23 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2010-03-02 10:03:23 +0000
commit0b951eb3fd341fe45003ce403295dcfb8bf3a659 (patch)
treed72e0f23d54d08c72c4bbfbce1b4c434f167a054 /Build
parente0bfe40e30a5e7ec19232f432ed1436bfa670cc2 (diff)
test case for recent omegafonts bug fix
git-svn-id: svn://tug.org/texlive/trunk@17285 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rwxr-xr-xBuild/source/texk/web2c/omegafonts/charwd.test34
-rw-r--r--Build/source/texk/web2c/omegafonts/tests/charwd-r.pl19
-rw-r--r--Build/source/texk/web2c/omegafonts/tests/charwd-v.vpl29
3 files changed, 82 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/omegafonts/charwd.test b/Build/source/texk/web2c/omegafonts/charwd.test
new file mode 100755
index 00000000000..918c4611efc
--- /dev/null
+++ b/Build/source/texk/web2c/omegafonts/charwd.test
@@ -0,0 +1,34 @@
+#! /bin/sh
+
+# Copyright (C) 2010 Peter Breitenlohner <tex-live@tug.org>
+# You may freely use, modify and/or distribute this file.
+
+test -d tests || mkdir -p tests
+
+grep -v 'CHARWD R' $srcdir/tests/charwd-r.pl >tests/charwdr.pl
+
+./omfonts -opl2ofm tests/charwdr.pl tests/charwdr.tfm || exit 1
+
+TEXMFCNF=$srcdir/../../kpathsea \
+ TFMFONTS=tests \
+ ./omfonts -ofm2opl tests/charwdr.tfm tests/charwdr.xpl || exit 1
+
+diff $srcdir/tests/charwd-r.pl tests/charwdr.xpl || exit 1
+
+grep -v 'CHARWD R' $srcdir/tests/charwd-v.vpl >tests/charwdv.vpl
+
+./omfonts -ovp2ovf tests/charwdv.vpl tests/charwdv.vf tests/charwdv.tfm || exit 1
+
+TEXMFCNF=$srcdir/../../kpathsea \
+ TFMFONTS=tests \
+ ./omfonts -ofm2opl tests/charwdr.tfm tests/charwdr.xpl || exit 1
+
+diff $srcdir/tests/charwd-r.pl tests/charwdr.xpl || exit 1
+
+TEXMFCNF=$srcdir/../../kpathsea \
+ TFMFONTS=tests \
+ VFFONTS=tests \
+ ./omfonts -ovf2ovp tests/charwdv.vf tests/charwdv.tfm tests/charwdv.xpl || exit 1
+
+diff $srcdir/tests/charwd-v.vpl tests/charwdv.xpl || exit 1
+
diff --git a/Build/source/texk/web2c/omegafonts/tests/charwd-r.pl b/Build/source/texk/web2c/omegafonts/tests/charwd-r.pl
new file mode 100644
index 00000000000..7440dd427cf
--- /dev/null
+++ b/Build/source/texk/web2c/omegafonts/tests/charwd-r.pl
@@ -0,0 +1,19 @@
+(FAMILY UNSPECIFIED)
+(FACE F MRR)
+(CODINGSCHEME UNSPECIFIED)
+(DESIGNSIZE R 10.0)
+(COMMENT DESIGNSIZE IS IN POINTS)
+(COMMENT OTHER SIZES ARE MULTIPLES OF DESIGNSIZE)
+(CHECKSUM H 1011DEC8)
+(SEVENBITSAFEFLAG TRUE)
+(FONTDIMEN
+ (SLANT R 0.0)
+ (SPACE R 0.5)
+ (STRETCH R 0.3)
+ (SHRINK R 0.1)
+ (XHEIGHT R 0.8)
+ (QUAD R 1.0)
+ )
+(CHARACTER H 23
+ (CHARWD R 0.0)
+ )
diff --git a/Build/source/texk/web2c/omegafonts/tests/charwd-v.vpl b/Build/source/texk/web2c/omegafonts/tests/charwd-v.vpl
new file mode 100644
index 00000000000..c6b5da53d53
--- /dev/null
+++ b/Build/source/texk/web2c/omegafonts/tests/charwd-v.vpl
@@ -0,0 +1,29 @@
+(VTITLE Test missing CHARWD)
+(FAMILY UNSPECIFIED)
+(FACE F MRR)
+(CODINGSCHEME UNSPECIFIED)
+(DESIGNSIZE R 10.0)
+(COMMENT DESIGNSIZE IS IN POINTS)
+(COMMENT OTHER SIZES ARE MULTIPLES OF DESIGNSIZE)
+(CHECKSUM H CDC67EC9)
+(SEVENBITSAFEFLAG TRUE)
+(FONTDIMEN
+ (SLANT R 0.0)
+ (SPACE R 0.5)
+ (STRETCH R 0.3)
+ (SHRINK R 0.1)
+ (XHEIGHT R 0.8)
+ (QUAD R 1.0)
+ )
+(MAPFONT D 0
+ (FONTNAME charwdr)
+ (FONTCHECKSUM H 1011DEC8)
+ (FONTAT R 1.0)
+ (FONTDSIZE R 10.0)
+ )
+(CHARACTER H 22
+ (CHARWD R 0.0)
+ (MAP
+ (SETCHAR H 23)
+ )
+ )