shithub: freetype+ttf2subf

Download patch

ref: ae425e518975835ef81620d566b9dc84bf73cc36
parent: 18b552f6aeb84dc6fb5f9b8a3b37e0d4414de45e
author: Werner Lemberg <[email protected]>
date: Tue Jun 29 08:31:08 EDT 2010

Fix minor tracing issues.

* src/cff/cffgload.c, src/truetype/ttgload.c: Adjust tracing levels.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-06-29  Werner Lemberg  <[email protected]>
+
+	Fix minor tracing issues.
+
+	* src/cff/cffgload.c, src/truetype/ttgload.c: Adjust tracing levels.
+
 2010-06-27  Werner Lemberg  <[email protected]>
 
 	[cff] Really fix `hintmask' and `cntrmask' limit check.
--- a/src/cff/cffgload.c
+++ b/src/cff/cffgload.c
@@ -429,7 +429,7 @@
         goto Exit;
       }
 
-      FT_TRACE4(( "glyph index %d (subfont %d):\n", glyph_index, fd_index ));
+      FT_TRACE3(( "glyph index %d (subfont %d):\n", glyph_index, fd_index ));
 
       sub = cff->subfonts[fd_index];
 
@@ -444,7 +444,7 @@
     }
 #ifdef FT_DEBUG_LEVEL_TRACE
     else
-      FT_TRACE4(( "glyph index %d:\n", glyph_index ));
+      FT_TRACE3(( "glyph index %d:\n", glyph_index ));
 #endif
 
     decoder->num_locals    = sub->local_subrs_index.count;
--- a/src/truetype/ttgload.c
+++ b/src/truetype/ttgload.c
@@ -294,7 +294,7 @@
     FT_UNUSED( glyph_index );
 
 
-    FT_TRACE5(( "Glyph %ld\n", glyph_index ));
+    FT_TRACE4(( "Glyph %ld\n", glyph_index ));
 
     /* the following line sets the `error' variable through macros! */
     if ( FT_STREAM_SEEK( offset ) || FT_FRAME_ENTER( byte_count ) )
@@ -1161,7 +1161,7 @@
         if ( (FT_Int)n_ins > loader->byte_len )
         {
           FT_TRACE1(( "TT_Process_Composite_Glyph: "
-                      "too many instructions (%d) for glyph with length (%d)\n",
+                      "too many instructions (%d) for glyph with length %d\n",
                       n_ins, loader->byte_len ));
           return TT_Err_Too_Many_Hints;
         }