Commit dc4d1fa2a0a166bb509a5d43e3096313377f01d0

henry 2003-07-23T09:06:51

Remove Font Table function.

diff --git a/include/FTFace.h b/include/FTFace.h
index bb15768..393221c 100755
--- a/include/FTFace.h
+++ b/include/FTFace.h
@@ -67,10 +67,6 @@ class FTGL_EXPORT FTFace
 
         FT_Face* Face() const { return ftFace;}
         
-        
-        void* FontTable( unsigned int tableName) const;
-        
-        
         /**
          * Sets the char size for the current face.
          *
diff --git a/src/FTFace.cpp b/src/FTFace.cpp
index 88ee8bd..5b4a39f 100755
--- a/src/FTFace.cpp
+++ b/src/FTFace.cpp
@@ -82,13 +82,6 @@ void FTFace::Close()
 }
 
 
-void* FTFace::FontTable( unsigned int tableName) const
-{
-//    return FT_Get_Sfnt_Table( *ftFace, tableName);
-    return 0;
-}
-
-
 const FTSize& FTFace::Size( const unsigned int size, const unsigned int res)
 {
     charSize.CharSize( ftFace, size, res, res);
diff --git a/test/FTFace-Test.cpp b/test/FTFace-Test.cpp
index 8e42c10..88dc0be 100755
--- a/test/FTFace-Test.cpp
+++ b/test/FTFace-Test.cpp
@@ -14,7 +14,6 @@ class FTFaceTest : public CppUnit::TestCase
         CPPUNIT_TEST( testOpenFaceFromMemory);
         CPPUNIT_TEST( testAttachFile);
         CPPUNIT_TEST( testAttachMemoryData);
-        CPPUNIT_TEST( testGetFontTable);
         CPPUNIT_TEST( testGlyphCount);
         CPPUNIT_TEST( testSetFontSize);
         CPPUNIT_TEST( testUnitPerEMSquare);
@@ -73,13 +72,6 @@ class FTFaceTest : public CppUnit::TestCase
         }
         
         
-        void testGetFontTable()
-        {
-            CPPUNIT_ASSERT( !testFace->FontTable( 'xxxx'));
-            CPPUNIT_ASSERT( testFace->FontTable( 'hmtx'));
-        }
-        
-        
         void testGlyphCount()
         {
             CPPUNIT_ASSERT( testFace->GlyphCount() == 14099);