summaryrefslogtreecommitdiff
path: root/src/smooth
diff options
context:
space:
mode:
authorGraham Asher <graham.asher@btinternet.com>2010-06-24 12:50:46 +0200
committerWerner Lemberg <wl@gnu.org>2010-06-24 12:50:46 +0200
commite419f48b40a746465a6c8e1d446b407b8677bfed (patch)
tree918cc7cf4c07b3eb1113a08e5c649f2bb30385e6 /src/smooth
parentf765e4403cae51d2b0f5e603eb3993c05fcb4fda (diff)
* src/smooth/ftgrays.c (gray_render_cubic): Fix algorithm.
The previous version was too aggressive, as demonstrated in http://lists.gnu.org/archive/html/freetype-devel/2010-06/msg00020.html.
Diffstat (limited to 'src/smooth')
-rw-r--r--src/smooth/ftgrays.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/smooth/ftgrays.c b/src/smooth/ftgrays.c
index 0afb37e6..3c2051af 100644
--- a/src/smooth/ftgrays.c
+++ b/src/smooth/ftgrays.c
@@ -1029,7 +1029,7 @@
dx /= ras.cubic_level;
while ( dx > 0 )
{
- dx >>= 3;
+ dx >>= 2;
level++;
}