Correct wrong fix.
diff --git a/src/base/ftgrays.c b/src/base/ftgrays.c
index 0294fbf..151ccec 100644
--- 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;
}