Commit 2c46125c480f7c6267a70e5c60f8e1921f55557c

henry 2004-09-29T23:07:54

Removed the pixels per em function because no one is using them.

diff --git a/test/FTSize-Test.cpp b/test/FTSize-Test.cpp
index 3e7d6a0..f203783 100755
--- a/test/FTSize-Test.cpp
+++ b/test/FTSize-Test.cpp
@@ -17,7 +17,6 @@ class FTSizeTest : public CppUnit::TestCase
     CPPUNIT_TEST_SUITE( FTSizeTest);
         CPPUNIT_TEST( testConstructor);
         CPPUNIT_TEST( testSetCharSize);
-        CPPUNIT_TEST( testPixelsPerEMSquare);
     CPPUNIT_TEST_SUITE_END();
         
     public:
@@ -39,9 +38,6 @@ class FTSizeTest : public CppUnit::TestCase
 
             CPPUNIT_ASSERT_DOUBLES_EQUAL( 0, size.Underline(), 0.01);
 
-            CPPUNIT_ASSERT( size.XPixelsPerEm() == 0);
-            CPPUNIT_ASSERT( size.YPixelsPerEm() == 0);
-            
         }
         
         
@@ -66,18 +62,6 @@ class FTSizeTest : public CppUnit::TestCase
             tearDownFreetype();
         }
         
-        void testPixelsPerEMSquare()
-        {
-            setUpFreetype();
-            
-            FTSize size;
-
-            CPPUNIT_ASSERT( size.CharSize( &face, FONT_POINT_SIZE, RESOLUTION, RESOLUTION));
-            CPPUNIT_ASSERT( size.Error() == 0);
-
-            CPPUNIT_ASSERT_DOUBLES_EQUAL( 72, size.XPixelsPerEm(), 0.01);
-            CPPUNIT_ASSERT_DOUBLES_EQUAL( 72, size.YPixelsPerEm(), 0.01);
-        }
         
         void setUp() 
         {}