shithub: freetype+ttf2subf

Download patch

ref: ef3d2c234736bdd7359d51e1ad522ae5dc6698c5
parent: 523119761a84d433b08d7a9f157f4ad2ae23be5b
author: Werner Lemberg <[email protected]>
date: Sun Jun 25 02:07:14 EDT 2006

formatting, copyright years

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,25 +1,23 @@
 2006-06-22  suzuki toshiya  <[email protected]>
 
-	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 <Endian.h> 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 <Endian.h> 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  <[email protected]>
 
@@ -26,7 +24,7 @@
 	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
--- 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.                      */
 /*                                                                         */
--- 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;
 
--- 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,       */