shithub: freetype+ttf2subf

Download patch

ref: fc3a316441d470f015e18f93e54c2dc8e4d6e0c2
parent: aef3fc816b4900a2cb9119e1dcbed339ef5c1590
author: David Turner <[email protected]>
date: Wed Dec 19 09:47:28 EST 2001

* 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

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2001-12-19  David Turner  <[email protected]>
+
+        * 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  <[email protected]>
 
 	* src/truetype/ttgload.c (load_truetype_glyph): Fix test for invalid
--- 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!
--- 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;