formatting, copyright years
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
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, */