From ef3d2c234736bdd7359d51e1ad522ae5dc6698c5 Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Sun, 25 Jun 2006 06:07:14 +0000 Subject: [PATCH] formatting, copyright years --- ChangeLog | 38 ++++++++++++++++++-------------------- src/base/ftgxval.c | 2 +- src/base/ftmac.c | 6 ++++-- src/base/ftotval.c | 2 +- 4 files changed, 24 insertions(+), 24 deletions(-) diff --git a/ChangeLog b/ChangeLog index ea53ece2b..b212572b5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,32 +1,30 @@ 2006-06-22 suzuki toshiya - Insert EndianS16_BtoN and EndianS32_BtoN as workaround for - Intel Mac. The original patch was written by David Sachitano - and Lawrence Coopet, modified by Sean McBride for MPW - compatibility. Only required data are converted, unused data - are left in big endian. + Insert EndianS16_BtoN and EndianS32_BtoN as workaround for Intel + Mac. The original patch was written by David Sachitano and Lawrence + Coopet, and modified by Sean McBride for MPW compatibility. Only + required data are converted; unused data are left in big endian. - * src/base/ftmac.c: - Undefine existing OS_INLINE before definition. - Include for byteorder macros for non Mac OS X - platforms. - (count_faces_sfnt): Insert EndianS16_BtoN to parse the header - of FontAssociation table in FOND resource. - (count_faces_scalable): Insert EndianS16_BtoN to parse the - header and fontSize at each entry of FontAssociation table - in FOND resource. - (parse_fond): Insert EndianS16_BtoN and EndianS32_BtoN to - parse ffStylOff of FamilyRecord header of FOND resource, - the header, fontSize, fontID at each entry of FontAssociation - table, and StyleMapping table. - (count_faces): HUnlock is suspended after all FOND utilization. + * src/base/ftmac.c: Include for byteorder macros for non + Mac OS X platforms. + (OS_INLINE): Undefine before definition. + (count_faces_sfnt): Insert EndianS16_BtoN to parse the header of + FontAssociation table in FOND resource. + (count_faces_scalable): Insert EndianS16_BtoN to parse the header + and fontSize at each entry of FontAssociation table in FOND + resource. + (parse_fond): Insert EndianS16_BtoN and EndianS32_BtoN to parse + ffStylOff of FamilyRecord header of FOND resource, the header, + fontSize, fontID at each entry of FontAssociation table, and + StyleMapping table. + (count_faces): Call `HUnlock' after all FOND utilization. 2006-06-08 suzuki toshiya Public API of TrueTypeGX, OpenType, and classic kern table validator should return `FT_Err_Unimplemented_Feature' if validation service is unavailable (disabled in `modules.cfg'). It is originally - suggested by David Turner, cf. + suggested by David Turner, cf. http://lists.gnu.org/archive/html/freetype-devel/2005-11/msg00078.html * src/base/ftgxval.c (FT_TrueTypeGX_Validate): Return diff --git a/src/base/ftgxval.c b/src/base/ftgxval.c index 687bf5001..32662bed8 100644 --- a/src/base/ftgxval.c +++ b/src/base/ftgxval.c @@ -4,7 +4,7 @@ /* */ /* FreeType API for validating TrueTyepGX/AAT tables (body). */ /* */ -/* Copyright 2004, 2005 by */ +/* Copyright 2004, 2005, 2006 by */ /* Masatake YAMATO, Redhat K.K, */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* */ diff --git a/src/base/ftmac.c b/src/base/ftmac.c index d08cac827..3e23376d5 100644 --- a/src/base/ftmac.c +++ b/src/base/ftmac.c @@ -538,7 +538,8 @@ /* The count is 1 greater than the value in the FOND. */ /* Isn't that cute? :-) */ - return EndianS16_BtoN( *( (short*)( fond_data + sizeof ( FamRec ) ) ) ) + 1; + return EndianS16_BtoN( *( (short*)( fond_data + + sizeof ( FamRec ) ) ) ) + 1; } @@ -551,7 +552,8 @@ fond = (FamRec*)fond_data; - face_all = EndianS16_BtoN( *( (short *)( fond_data + sizeof ( FamRec ) ) ) ) + 1; + face_all = EndianS16_BtoN( *( (short *)( fond_data + + sizeof ( FamRec ) ) ) ) + 1; assoc = (AsscEntry*)( fond_data + sizeof ( FamRec ) + 2 ); face = 0; diff --git a/src/base/ftotval.c b/src/base/ftotval.c index 20f21fa3f..b6de6db85 100644 --- a/src/base/ftotval.c +++ b/src/base/ftotval.c @@ -4,7 +4,7 @@ /* */ /* FreeType API for validating OpenType tables (body). */ /* */ -/* Copyright 2004 by */ +/* Copyright 2004, 2006 by */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* */ /* This file is part of the FreeType project, and may only be used, */