Commit 27cf9de104bf341e38d90df30bfbfde3dad608c4

Werner Lemberg 2007-01-13T07:34:23

formatting, copyright years

diff --git a/ChangeLog b/ChangeLog
index 463fd9c..638b9fa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,11 +1,13 @@
-2007-01-12  Werner Lemberg  <wl@gnu.org>
+2007-01-12  David Turner  <david@freetype.org>
+
+	* src/base/ftbitmap.c (ft_bitmap_assure_buffer): Fix memory stomping
+	bug in the bitmap emboldener if the pitch of the source bitmap is
+	much larger than its width.
 
-	* src/base/ftbitmap.c: fixing memory stomping bug in the
-	bitmap embolderner when the pitch of the source bitmap is
-	*much* larger than its width
+	* src/truetype/ttinterp.c (Update_Max): Fix aliasing-related
+	compilation warning.
 
-	* src/truetype/ttinterp.c: fixing aliasing-related compilation
-	warning
+2007-01-12  Werner Lemberg  <wl@gnu.org>
 
 	* builds/unix/install-sh, builds/unix/mkinstalldirs: Updated from
 	`automake' CVS module from sources.redhat.com.
diff --git a/src/base/ftbitmap.c b/src/base/ftbitmap.c
index 7a7e65b..50c9382 100644
--- a/src/base/ftbitmap.c
+++ b/src/base/ftbitmap.c
@@ -5,7 +5,7 @@
 /*    FreeType utility functions for converting 1bpp, 2bpp, 4bpp, and 8bpp */
 /*    bitmaps into 8bpp format (body).                                     */
 /*                                                                         */
-/*  Copyright 2004, 2005, 2006 by                                          */
+/*  Copyright 2004, 2005, 2006, 2007 by                                    */
 /*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
 /*                                                                         */
 /*  This file is part of the FreeType project, and may only be used,       */
@@ -171,7 +171,8 @@
 
     if ( bitmap->pitch > 0 )
     {
-      FT_Int   len = ( width + ppb - 1 ) / ppb;
+      FT_Int  len = ( width + ppb - 1 ) / ppb;
+
 
       for ( i = 0; i < bitmap->rows; i++ )
         FT_MEM_COPY( buffer + new_pitch * ( ypixels + i ),
@@ -181,6 +182,7 @@
     {
       FT_Int  len = ( width + ppb - 1 ) / ppb;
 
+
       for ( i = 0; i < bitmap->rows; i++ )
         FT_MEM_COPY( buffer + new_pitch * i,
                      bitmap->buffer + pitch * i, len );
diff --git a/src/truetype/ttinterp.c b/src/truetype/ttinterp.c
index b7e105f..e432613 100644
--- a/src/truetype/ttinterp.c
+++ b/src/truetype/ttinterp.c
@@ -4,7 +4,7 @@
 /*                                                                         */
 /*    TrueType bytecode interpreter (body).                                */
 /*                                                                         */
-/*  Copyright 1996-2001, 2002, 2003, 2004, 2005, 2006 by                   */
+/*  Copyright 1996-2001, 2002, 2003, 2004, 2005, 2006, 2007 by             */
 /*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
 /*                                                                         */
 /*  This file is part of the FreeType project, and may only be used,       */