shithub: freetype+ttf2subf

Download patch

ref: 34e52707f06cf6deb59a1db94842b070749088e1
parent: b5274f557d9a8b3876663813b2562dcfc5036d16
author: Werner Lemberg <[email protected]>
date: Mon Nov 13 11:58:01 EST 2000

Formatting; removing tabs.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,12 +1,11 @@
 2000-11-12  Tom Kacvinsky  <[email protected]>
 
-	* src/sfnt/ttload.c: Change tracing output in functions
-	TT_LookUp_Table and TT_Load_Generic_Table.  Change comments
-	preceding TT_Load_Generic_Table.
-	* src/sfnt/sfobjs.c: In function SFNT_Load_Face, set boolean
-	variable has-outline to true only if the font has a `glyf' or
-	`CFF ' table.
+	* src/sfnt/ttload.c (TT_LookUp_Table, TT_Load_Generic_Table): Change
+	tracing output.
 
+	* src/sfnt/sfobjs.c (SFNT_Load_Face): Set boolean variable
+	`has-outline' to true only if the font has a `glyf' or `CFF ' table.
+
 2000-11-11  Werner Lemberg  <[email protected]>
 
 	* builds/win32/visualc/freetype.dsp: Fix raster1->raster and
@@ -27,8 +26,8 @@
 
 	* builds/unix/unix-def.in: Add
 
-		INSTALL_PROGRAM := @INSTALL_PROGRAM@
-		INSTALL_SCRIPT  := @INSTALL_SCRIPT@
+	    INSTALL_PROGRAM := @INSTALL_PROGRAM@
+	    INSTALL_SCRIPT  := @INSTALL_SCRIPT@
 
 	so that installation of freetype-config does not fail.
 
--- a/src/sfnt/sfobjs.c
+++ b/src/sfnt/sfobjs.c
@@ -287,7 +287,7 @@
 
     /* do we have outlines in there? */
     has_outline   = ( ( TT_LookUp_Table( face, TTAG_glyf ) != 0 ) ||
-		      ( TT_LookUp_Table( face, TTAG_CFF  ) != 0 ) );
+                      ( TT_LookUp_Table( face, TTAG_CFF  ) != 0 ) );
     is_apple_sbit = 0;
     
 #ifdef TT_CONFIG_OPTION_EMBEDDED_BITMAPS
--- a/src/sfnt/ttload.c
+++ b/src/sfnt/ttload.c
@@ -70,11 +70,11 @@
 
 
     FT_TRACE3(( "TT_LookUp_Table: %08p, `%c%c%c%c' -- ",
-		face,
-		(FT_Char)( tag >> 24 ),
-		(FT_Char)( tag >> 16 ),
-		(FT_Char)( tag >> 8  ),
-		(FT_Char)( tag       ) ));
+                face,
+                (FT_Char)( tag >> 24 ),
+                (FT_Char)( tag >> 16 ),
+                (FT_Char)( tag >> 8  ),
+                (FT_Char)( tag       ) ));
 
     entry = face->dir_tables;
     limit = entry + face->num_tables;
@@ -83,7 +83,7 @@
     {
       if ( entry->Tag == tag )
       {
-	FT_TRACE3(( "found table.\n" ));
+        FT_TRACE3(( "found table.\n" ));
         return entry;
       }
     }
@@ -498,12 +498,13 @@
     };
 
 
-    FT_TRACE2(( "TT_Load_Generic_Header: %08p, looking up font table `%c%c%c%c'.\n",
-		face,
-		(FT_Char)( tag >> 24 ),
-		(FT_Char)( tag >> 16 ),
-		(FT_Char)( tag >> 8  ),
-		(FT_Char)( tag       ) ));
+    FT_TRACE2(( "TT_Load_Generic_Header: "
+                "%08p, looking up font table `%c%c%c%c'.\n",
+                face,
+                (FT_Char)( tag >> 24 ),
+                (FT_Char)( tag >> 16 ),
+                (FT_Char)( tag >> 8  ),
+                (FT_Char)( tag       ) ));
 
     error = face->goto_table( face, tag, stream, 0 );
     if ( error )