summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source')
-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)
+ )
+ )