Formatting.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113
diff --git a/ChangeLog b/ChangeLog
index d4051d2..f1400c2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2008-01-04 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
+
+ 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 <wl@gnu.org>
* src/smooth/ftgrays.c (gray_raster_render): Check `outline'
diff --git a/builds/mac/ftmac.c b/builds/mac/ftmac.c
index 7c77dda..b83fecb 100644
--- 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
diff --git a/src/autofit/afindic.c b/src/autofit/afindic.c
index c6e7522..3d27f52 100644
--- 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 );
diff --git a/src/base/ftcid.c b/src/base/ftcid.c
index e9acbc3..5a8b50f 100644
--- 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 )
diff --git a/src/base/ftmac.c b/src/base/ftmac.c
index a95b93a..1b9ffe9 100644
--- 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 @@ typedef short ResourceIndex;
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 );