> Do you understand the Rx calculations?

Not without a lot of time to introduce myself to the code :-)

> They are wrong if integer overflows, aren't they?

Yes, it seems so, but up to now we haven't had a bug report.

> So there will be artifacts, possibly very small ones, when
> SMulDiv_NoRound becomes necessary.  Aren't we overthinking here?
> Does Ftgrays avoid FT_MulDiv by splitting long lines?

It's probably a good idea to fix Rx also.  What about this:

  old:
       Rx = ( ras.precision * Dx ) % Dy;

  new:
       Rx = ( ( ras.precision % Dy ) * ( Dx % Dy ) ) % Dy;


     Werner

_______________________________________________
Freetype-devel mailing list
Freetype-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to