* 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.
This commit is contained in:
Graham Asher 2010-06-24 12:50:46 +02:00 committed by Werner Lemberg
parent f765e4403c
commit e419f48b40
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2010-06-24 Graham Asher <graham.asher@btinternet.com>
* 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.
2010-06-24 Werner Lemberg <wl@gnu.org>
*/*: Use module specific error names where appropriate.

View File

@ -1029,7 +1029,7 @@
dx /= ras.cubic_level;
while ( dx > 0 )
{
dx >>= 3;
dx >>= 2;
level++;
}