shithub: freetype+ttf2subf

Download patch

ref: e419f48b40a746465a6c8e1d446b407b8677bfed
parent: f765e4403cae51d2b0f5e603eb3993c05fcb4fda
author: Graham Asher <[email protected]>
date: Thu Jun 24 08:50:46 EDT 2010

* 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.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-06-24  Graham Asher  <[email protected]>
+
+	* 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  <[email protected]>
 
 	*/*: Use module specific error names where appropriate.
--- 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++;
     }