Commit d1862d227cd3431241107849b5b757795da6364d

Werner Lemberg 2009-06-19T09:09:34

More ftgray fixes for FT_STATIC_RASTER. Problems reported by suyu@cooee.cn. * src/smooth/ftgrays.c (gray_move_to, gray_raster_render): Use RAS_VAR.

diff --git a/ChangeLog b/ChangeLog
index e3c6ce2..b00dc35 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-06-19  Werner Lemberg  <wl@gnu.org>
+
+	More ftgray fixes for FT_STATIC_RASTER.
+	Problems reported by suyu@cooee.cn.
+
+	* src/smooth/ftgrays.c (gray_move_to, gray_raster_render): Use
+	RAS_VAR.
+
 2009-06-18  Werner Lemberg  <wl@gnu.org>
 
 	* docs/CHANGES: Updated.
diff --git a/src/smooth/ftgrays.c b/src/smooth/ftgrays.c
index 1fc1166..74ca6e8 100644
--- a/src/smooth/ftgrays.c
+++ b/src/smooth/ftgrays.c
@@ -1132,7 +1132,7 @@
 
 
     /* record current cell, if any */
-    gray_record_cell( worker );
+    gray_record_cell( RAS_VAR );
 
     /* start to a new position */
     x = UPSCALE( to->x );
@@ -1967,7 +1967,7 @@
       ras.render_span_data = &ras;
     }
 
-    return gray_convert_glyph( worker );
+    return gray_convert_glyph( RAS_VAR );
   }