Commit 7f7a254fce4905b4111c6ed089714c10ff811734

henry 2003-01-10T03:26:29

Adding fonts for future layout support tests

diff --git a/test/FTVectoriser-Test.cpp b/test/FTVectoriser-Test.cpp
index bb2860f..9405046 100755
--- a/test/FTVectoriser-Test.cpp
+++ b/test/FTVectoriser-Test.cpp
@@ -422,7 +422,7 @@ class FTVectoriserTest : public CppUnit::TestCase
         {
             FT_Error error = FT_Init_FreeType( &library);
             assert(!error);
-            error = FT_New_Face( library, FONT_FILE, 0, &face);
+            error = FT_New_Face( library, ARIAL_FONT_FILE, 0, &face);
             assert(!error);
             
         }
diff --git a/test/Fontdefs.h b/test/Fontdefs.h
index 34f5b56..7a0e190 100644
--- a/test/Fontdefs.h
+++ b/test/Fontdefs.h
@@ -3,10 +3,11 @@
 
 
 const char* const BAD_FONT_FILE   = "missing_font.ttf";
-const char* const GOOD_FONT_FILE  = "../../test/MHei-Medium-Acro";
-const char* const FONT_FILE       = "../../test/arial.ttf";
-const char* const TYPE1_FONT_FILE = "../../test/HPGCalc.pfb";
-const char* const TYPE1_AFM_FILE  = "../../test/HPGCalc.afm";
+const char* const GOOD_FONT_FILE  = "../../test/font_pack/MHei-Medium-Acro";
+const char* const ARIAL_FONT_FILE = "../../test/font_pack/arial.ttf";
+const char* const FONT_FILE       = "../../test/font_pack/times.ttf";
+const char* const TYPE1_FONT_FILE = "../../test/font_pack/HPGCalc.pfb";
+const char* const TYPE1_AFM_FILE  = "../../test/font_pack/HPGCalc.afm";
 
 const char*    const GOOD_ASCII_TEST_STRING        = "test string";
 const char*    const BAD_ASCII_TEST_STRING         = "";