Formatting.

This commit is contained in:
Suzuki, Toshiya (鈴木俊哉) 2008-01-04 01:43:23 +00:00
parent d2e1573706
commit 75696860ea
5 changed files with 19 additions and 10 deletions

View File

@ -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'

View File

@ -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

View File

@ -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 );

View File

@ -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 )

View File

@ -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 );