shithub: freetype+ttf2subf

Download patch

ref: 6c045535eaa717a05279cbc5724a489bfc9d3bf1
parent: c9bdfa7e658f42f3faed2b426e3b1251a04938e4
author: Werner Lemberg <[email protected]>
date: Mon Mar 7 00:40:42 EST 2011

Quick fix for Savannah bug #32671.

This isn't the optimal solution yet, but it restores the previous
rendering quality (more or less).

* src/smooth/ftgrays.c (gray_render_conic): Do more splitting.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2011-03-07  Alexei Podtelezhnikov  <[email protected]>
+
+	Quick fix for Savannah bug #32671.
+
+	This isn't the optimal solution yet, but it restores the previous
+	rendering quality (more or less).
+
+	* src/smooth/ftgrays.c (gray_render_conic): Do more splitting.
+
 2011-03-06  Werner Lemberg  <[email protected]>
 
 	Fix autohinting fallback.
--- a/src/smooth/ftgrays.c
+++ b/src/smooth/ftgrays.c
@@ -897,7 +897,7 @@
     }
 
     level = 0;
-    while ( dx > ONE_PIXEL / 4 )
+    while ( dx > ONE_PIXEL / 6 )
     {
       dx >>= 2;
       level++;