shithub: freetype+ttf2subf

Download patch

ref: 75696860ea108ad556679f59def8b6370e3ce378
parent: d2e1573706cd2f9a28250f8f98e943da3fba9d8f
author: Suzuki, Toshiya (鈴木俊哉) <[email protected]>
date: Thu Jan 3 20:43:23 EST 2008

Formatting.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2008-01-04  suzuki toshiya  <[email protected]>
+
+	Formatting suggested by Sean McBride.
+
+	* builds/mac/ftmac.c: Formatting (tab expanded).
+	* src/autofit/afindic.c: Ditto.
+	* src/base/ftcid.c: Ditto.
+	* src/base/ftmac.c: Ditto.
+
 2007-12-30  Werner Lemberg  <[email protected]>
 
 	* src/smooth/ftgrays.c (gray_raster_render): Check `outline'
--- a/builds/mac/ftmac.c
+++ b/builds/mac/ftmac.c
@@ -76,7 +76,7 @@
 #endif
 #include <CoreServices/CoreServices.h>
 #include <ApplicationServices/ApplicationServices.h>
-#include <sys/syslimits.h>      /* PATH_MAX */
+#include <sys/syslimits.h> /* PATH_MAX */
 #else
 #include <Resources.h>
 #include <Fonts.h>
@@ -87,7 +87,7 @@
 #endif
 
 #ifndef PATH_MAX
-#define PATH_MAX  1024	/* same with Mac OS X's syslimits.h */
+#define PATH_MAX 1024 /* same with Mac OS X's syslimits.h */
 #endif
 
 #if defined( __MWERKS__ ) && !TARGET_RT_MAC_MACHO
--- a/src/autofit/afindic.c
+++ b/src/autofit/afindic.c
@@ -43,7 +43,7 @@
 
   static void
   af_indic_metrics_scale( AF_LatinMetrics  metrics,
-			  AF_Scaler        scaler )
+                          AF_Scaler        scaler )
   {
     /* use CJK routines */
     af_cjk_metrics_scale( metrics, scaler );
@@ -52,7 +52,7 @@
 
   static FT_Error
   af_indic_hints_init( AF_GlyphHints    hints,
-		       AF_LatinMetrics  metrics )
+                       AF_LatinMetrics  metrics )
   {
     /* use CJK routines */
     return af_cjk_hints_init( hints, metrics );
@@ -61,8 +61,8 @@
 
   static FT_Error
   af_indic_hints_apply( AF_GlyphHints    hints,
-			FT_Outline*      outline,
-			AF_LatinMetrics  metrics)
+                        FT_Outline*      outline,
+                        AF_LatinMetrics  metrics)
   {
     /* use CJK routines */
     return af_cjk_hints_apply( hints, outline, metrics );
--- a/src/base/ftcid.c
+++ b/src/base/ftcid.c
@@ -44,7 +44,7 @@
       FT_FACE_FIND_SERVICE( face, service, CID );
 
       if ( service && service->get_ros )
-	  error = service->get_ros( face, &r, &o, &s );
+        error = service->get_ros( face, &r, &o, &s );
     }
 
     if ( registry )
--- a/src/base/ftmac.c
+++ b/src/base/ftmac.c
@@ -79,12 +79,12 @@
 
   /* The ResourceIndex type was only added in the 10.5 SDK */
 #ifndef MAC_OS_X_VERSION_10_5
-typedef	short	ResourceIndex;
+typedef short ResourceIndex;
 #endif
 
 #include <CoreServices/CoreServices.h>
 #include <ApplicationServices/ApplicationServices.h>
-#include <sys/syslimits.h>	/* PATH_MAX */
+#include <sys/syslimits.h> /* PATH_MAX */
 
 #define FT_DEPRECATED_ATTRIBUTE
 
@@ -139,7 +139,7 @@
     OSStatus  err;
 
     err = ATSFontGetFileReference( ats_font_id, ats_font_ref );
-	
+
     return err;
 #elif __LP64__ /* No 64bit Carbon API on legacy platforms */
     FT_UNUSED( ats_font_id );