--- freetype-2.1.2/src/sfnt/ttload.c~	2002-07-28 04:26:53.000000000 +0900
+++ freetype-2.1.2/src/sfnt/ttload.c	2002-07-28 04:33:03.000000000 +0900
@@ -202,9 +202,11 @@
       if ( FT_STREAM_READ_FIELDS( sfnt_dir_entry_fields, &table ) )
         goto Bad_Format;
 
+#if 0
       if ( offset + table.Offset + table.Length > stream->size &&
 		   table.Tag != glyx_tag && table.Tag != locx_tag      )
         goto Bad_Format;
+#endif
 
       if ( table.Tag == TTAG_head )
       {
@@ -215,11 +215,13 @@
 
         has_head = 1;
 
+#if 0
         if ( table.Length != 0x36                         ||
              FT_STREAM_SEEK( offset + table.Offset + 12 ) ||
              FT_READ_ULONG( magic )                       ||
              magic != 0x5F0F3CF5U                         )
           goto Bad_Format;
+#endif
 
         if ( FT_STREAM_SEEK( offset + 28 + 16*nn ) )
           goto Bad_Format;
 

