shithub: freetype+ttf2subf

Download patch

ref: 27cf9de104bf341e38d90df30bfbfde3dad608c4
parent: 9f9bc2bc46ae34a1038b617821da4ce868c95ee5
author: Werner Lemberg <[email protected]>
date: Sat Jan 13 02:34:23 EST 2007

formatting, copyright years

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,11 +1,13 @@
-2007-01-12  Werner Lemberg  <[email protected]>
+2007-01-12  David Turner  <[email protected]>
 
-	* 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/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/truetype/ttinterp.c: fixing aliasing-related compilation
-	warning
+	* src/truetype/ttinterp.c (Update_Max): Fix aliasing-related
+	compilation warning.
+
+2007-01-12  Werner Lemberg  <[email protected]>
 
 	* builds/unix/install-sh, builds/unix/mkinstalldirs: Updated from
 	`automake' CVS module from sources.redhat.com.
--- 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,8 +171,9 @@
 
     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 ),
                      bitmap->buffer + pitch * i, len );
@@ -180,6 +181,7 @@
     else
     {
       FT_Int  len = ( width + ppb - 1 ) / ppb;
+
 
       for ( i = 0; i < bitmap->rows; i++ )
         FT_MEM_COPY( buffer + new_pitch * i,
--- 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,       */