From 4b03ba0b3e4f12e432a169961697a7d7776cfb17 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 11 Apr 2010 00:54:05 +0000 Subject: snprintf for afm2tfm; add (very) basic test for it git-svn-id: svn://tug.org/texlive/trunk@17798 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/tests/ChangeLog | 4 ++++ Build/source/texk/tests/common-test.pl | 3 ++- Build/source/texk/tests/texmf/afmtest.afm | 23 +++++++++++++++++++++++ 3 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 Build/source/texk/tests/texmf/afmtest.afm (limited to 'Build/source/texk/tests') 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 + + * common-test.pl (AFMFONTS): set also. + 2010-03-08 Karl Berry * 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 -- cgit v1.2.3