[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] a bug or what?

From: Werner LEMBERG
Subject: Re: [ft-devel] a bug or what?
Date: Sat, 18 Jun 2016 06:28:45 +0200 (CEST)

> I was working on streamlining the banding of smooth rasterizer when I
> saw this ftgrays.c:2000:
>         if ( bottom-top >= ras.band_size )
>           ras.band_shoot++;
> bottom-top is negative, band_size is always positive. band_shoot could
> never grow from zero. Whatever is at the bottom of the function
> ftgrays.c:2011 never happens. The bottom line is that it seems that
> the whole stuff around band_shoot is not needed.
> Can I remove the broken band_shoot?

Please proceed!  I don't know the details of the smooth rasterizer, so
I think you are the one who can decide this best.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]