Commit 88cdbb34a229c863ab4f10114b98e3737eb2b64c

David Turner 2001-10-22T15:24:32

removed bogus warnings

diff --git a/ChangeLog b/ChangeLog
index 0918458..ffc8c0a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2001-10-22  David Turner  <david@freetype.org>
 
+        * src/pshinter/pshalgo2.c (psh2_hint_table_record_mask): removed some
+        bogus warnings..
+
         * include/freetype/internal/ftmemory.h, src/base/ftdbgmem.c: modified
         the debugging memory manager to report the location (source file name
         + line number) where leaked memory blocks are allocated in the source
diff --git a/include/freetype/config/ftoption.h b/include/freetype/config/ftoption.h
index a563db4..06ef56d 100644
--- a/include/freetype/config/ftoption.h
+++ b/include/freetype/config/ftoption.h
@@ -227,8 +227,8 @@ FT_BEGIN_HEADER
   /*                                                                       */
   /*   Don't define any of these macros to compile in `release' mode!      */
   /*                                                                       */
-/* #define  FT_DEBUG_LEVEL_ERROR */
-/* #define  FT_DEBUG_LEVEL_TRACE */
+#define  FT_DEBUG_LEVEL_ERROR
+#define  FT_DEBUG_LEVEL_TRACE
 
   /*************************************************************************/
   /*                                                                       */
diff --git a/src/pshinter/pshalgo2.c b/src/pshinter/pshalgo2.c
index 869297b..135e4f7 100644
--- a/src/pshinter/pshalgo2.c
+++ b/src/pshinter/pshalgo2.c
@@ -119,12 +119,6 @@
 
     limit = hint_mask->num_bits; 
     
-    if ( limit != table->max_hints )
-    {
-      FT_ERROR(( "%s.activate_mask: invalid bit count (%d instead of %d)\n",
-                 "ps.fitter", hint_mask->num_bits, table->max_hints ));
-    }
-        
     for ( index = 0; index < limit; index++ )
     {
       if ( mask == 0 )