freetype-devel
[Top][All Lists]
Advanced

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

[ft-devel] a bug or what?


From: Alexei Podtelezhnikov
Subject: [ft-devel] a bug or what?
Date: Fri, 17 Jun 2016 09:34:13 -0400

Werner,

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?

Thank you,
Alexei



reply via email to

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