shithub: freetype+ttf2subf

Download patch

ref: d1862d227cd3431241107849b5b757795da6364d
parent: 140a69437333e74c4c44e64e1f3c8849c62ed988
author: Werner Lemberg <[email protected]>
date: Fri Jun 19 05:09:34 EDT 2009

More ftgray fixes for FT_STATIC_RASTER.
Problems reported by [email protected].

* src/smooth/ftgrays.c (gray_move_to, gray_raster_render): Use
RAS_VAR.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-06-19  Werner Lemberg  <[email protected]>
+
+	More ftgray fixes for FT_STATIC_RASTER.
+	Problems reported by [email protected].
+
+	* src/smooth/ftgrays.c (gray_move_to, gray_raster_render): Use
+	RAS_VAR.
+
 2009-06-18  Werner Lemberg  <[email protected]>
 
 	* docs/CHANGES: Updated.
--- 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 );
   }