From d1862d227cd3431241107849b5b757795da6364d Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Fri, 19 Jun 2009 09:09:34 +0200 Subject: [PATCH] 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. --- ChangeLog | 8 ++++++++ src/smooth/ftgrays.c | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index e3c6ce265..b00dc3552 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2009-06-19 Werner Lemberg + + 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 * docs/CHANGES: Updated. diff --git a/src/smooth/ftgrays.c b/src/smooth/ftgrays.c index 1fc1166d6..74ca6e8c2 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 ); }