shithub: freetype+ttf2subf

Download patch

ref: 88cdbb34a229c863ab4f10114b98e3737eb2b64c
parent: 950c669060eb6a41adccffcf709c487102cb1b87
author: David Turner <[email protected]>
date: Mon Oct 22 11:24:32 EDT 2001

removed bogus warnings

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2001-10-22  David Turner  <[email protected]>
 
+        * 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
--- a/include/freetype/config/ftoption.h
+++ b/include/freetype/config/ftoption.h
@@ -227,8 +227,8 @@
   /*                                                                       */
   /*   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
 
   /*************************************************************************/
   /*                                                                       */
--- 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 )