> > > So, is this a surprise to anyone? Should the two versions behave > > > identically in the absence of overflow or other extreme cases? > > > > The behaviour should be identical, yes. Reason for two code paths is > > velocity. > > Yes. The original version involves complex remainder accounting. I > strongly suspect that it breaks down a bit upon entering > gray_render_scanline. That function should be aware of the remainder > above, but it is not. You are welcome to track it down but it is a > tough code to grasp.
The comments in this commit might help understand the code, if you are still interested. https://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=bdac4cbe6fb77108a753be859fe73579c5cddc97 _______________________________________________ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel