* src/smooth/ftgrays.c (gray_render_scanline): Fix bug which caused

bad rendering of thin lines (less than one pixel thick).
This commit is contained in:
Werner Lemberg 2002-01-28 05:04:22 +00:00
parent 43071cb7f2
commit e274290d71
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-01-27 Giuliano Pochini <pochini@shiny.it>
* src/smooth/ftgrays.c (gray_render_scanline): Fix bug which caused
bad rendering of thin lines (less than one pixel thick).
2002-01-25 Werner Lemberg <wl@gnu.org>
* src/cff/cffdrivr.c (cff_get_name_index): Make last patch work

View File

@ -553,7 +553,7 @@
if ( ex1 != ex2 )
{
p = ONE_PIXEL * ( y2 - y1 );
p = ONE_PIXEL * ( y2 - y1 + delta );
lift = p / dx;
rem = p % dx;
if ( rem < 0 )