Commit fc3a316441d470f015e18f93e54c2dc8e4d6e0c2

David Turner 2001-12-19T14:47:28

* src/raster/ftrend1.c (ft_raster1_render): fixed a nasty outline shifting bug in the monochrome renderer. * README: updated version numbers to 2.0.6

diff --git a/ChangeLog b/ChangeLog
index 52c5a9d..7439934 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2001-12-19  David Turner  <david@freetype.org>
+
+        * src/raster/ftrend1.c (ft_raster1_render): fixed a nasty outline
+        shifting bug in the monochrome renderer.
+
+        * README: updated version numbers to 2.0.6
+
 2001-12-17  Werner Lemberg  <wl@gnu.org>
 
 	* src/truetype/ttgload.c (load_truetype_glyph): Fix test for invalid
diff --git a/README b/README
index e778955..8f353ca 100644
--- a/README
+++ b/README
@@ -1,5 +1,5 @@
 
-  FreeType 2.0.5
+  FreeType 2.0.6
   ==============
 
   Please read the docs/CHANGES file, it contains IMPORTANT INFORMATION.
@@ -9,8 +9,8 @@
   Note that the FreeType 2 documentation is now available as a separate
   package from our sites.  See:
 
-    ftp://ftp.freetype.org/pub/freetype2/ftdocs-2.0.5.tar.bz2
-    ftp://ftp.freetype.org/pub/freetype2/ftdocs-2.0.5.tar.gz
+    ftp://ftp.freetype.org/pub/freetype2/ftdocs-2.0.6.tar.bz2
+    ftp://ftp.freetype.org/pub/freetype2/ftdocs-2.0.6.tar.gz
     ftp://ftp.freetype.org/pub/freetype2/ftdoc205.zip
 
   Enjoy!
diff --git a/src/raster/ftrend1.c b/src/raster/ftrend1.c
index 5a29125..b587cf0 100644
--- a/src/raster/ftrend1.c
+++ b/src/raster/ftrend1.c
@@ -193,6 +193,9 @@
 
     /* render outline into the bitmap */
     error = render->raster_render( render->raster, &params );
+    
+    FT_Outline_Translate( outline, cbox.xMin, cbox.yMin );
+    
     if ( error )
       goto Exit;