ref: 08edde58058c882dc895e3a72d4dfcbafa95d0f2
parent: 2fbf7e439f06416d195435baa89c403f2044c2dd
author: Werner Lemberg <[email protected]>
date: Thu Jun 1 20:11:57 EDT 2000
Correct wrong fix.
--- a/src/base/ftgrays.c
+++ b/src/base/ftgrays.c
@@ -1234,10 +1234,10 @@
coverage = -coverage;
while ( coverage >= 512 )
- coverage = 512 - coverage;
+ coverage -= 512;
if ( coverage > 256 )
- coverage = 0;
+ coverage = 512 - coverage;
else if ( coverage == 256 )
coverage = 255;
}