summaryrefslogtreecommitdiff
path: root/Build/source/texk/tests
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-04-11 00:54:05 +0000
committerKarl Berry <karl@freefriends.org>2010-04-11 00:54:05 +0000
commit4b03ba0b3e4f12e432a169961697a7d7776cfb17 (patch)
tree085e541a99e9874db7348ad5c1a1d433a2a5cdc6 /Build/source/texk/tests
parent001b7975ce276ec6e72bf2b317cef8afe92c2948 (diff)
snprintf for afm2tfm; add (very) basic test for it
git-svn-id: svn://tug.org/texlive/trunk@17798 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/tests')
-rw-r--r--Build/source/texk/tests/ChangeLog4
-rw-r--r--Build/source/texk/tests/common-test.pl3
-rw-r--r--Build/source/texk/tests/texmf/afmtest.afm23
3 files changed, 29 insertions, 1 deletions
diff --git a/Build/source/texk/tests/ChangeLog b/Build/source/texk/tests/ChangeLog
index c7ff9711f0a..6e996a57d4c 100644
--- a/Build/source/texk/tests/ChangeLog
+++ b/Build/source/texk/tests/ChangeLog
@@ -1,3 +1,7 @@
+2010-04-11 Karl Berry <karl@tug.org>
+
+ * common-test.pl (AFMFONTS): set also.
+
2010-03-08 Karl Berry <karl@tug.org>
* texmf/: new subdir.
diff --git a/Build/source/texk/tests/common-test.pl b/Build/source/texk/tests/common-test.pl
index fe7f9d0bdb6..e12b6f46be8 100644
--- a/Build/source/texk/tests/common-test.pl
+++ b/Build/source/texk/tests/common-test.pl
@@ -5,7 +5,8 @@
# srcdir must be a sibling dir to kpathsea, e.g., web2c.
$ENV{"TEXMFCNF"} = "$srcdir/../kpathsea";
-$ENV{"BIBINPUTS"}
+$ENV{"AFMFONTS"}
+ = $ENV{"BIBINPUTS"}
= $ENV{"BSTINPUTS"}
= $ENV{"TEXINPUTS"}
= ".:$srcdir/tests:$srcdir/../tests/texmf//";
diff --git a/Build/source/texk/tests/texmf/afmtest.afm b/Build/source/texk/tests/texmf/afmtest.afm
new file mode 100644
index 00000000000..ab46eaa4edd
--- /dev/null
+++ b/Build/source/texk/tests/texmf/afmtest.afm
@@ -0,0 +1,23 @@
+StartFontMetrics 2.0
+Comment $Id$
+Comment Public domain. Originally written by Karl Berry.
+Comment Creation Date: 11apr10
+FontName Afmtest
+FullName AFM Test
+FamilyName Afmtest
+Weight Invisible
+ItalicAngle 0
+IsFixedPitch false
+FontBBox 0 0 0 0
+UnderlinePosition -100
+UnderlineThickness 50
+Version 001.000
+Notice Public domain.
+EncodingScheme SpaceOnly
+CapHeight 1000
+XHeight 500
+Ascender 1000
+Descender -250
+StartCharMetrics 1
+C 32 ; WX 250 ; N space ; B 0 0 0 0 ;
+EndFontMetrics