shithub: freetype+ttf2subf

Download patch

ref: a41d3f056ac14d6edd21ae7db5d8d7d9d94aa41f
parent: ba4511b807de4c55b6c77281160f9ad30a49e540
author: David Turner <[email protected]>
date: Tue Feb 18 17:36:04 EST 2003

* src/autohint/ahhint.c: disabled the advance width "correction" which
    seemed to provide more trouble than benefits..

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,8 @@
     problem that occured due to the latest auto-hinter changes
 
 
+    * src/autohint/ahhint.c: disabled the advance width "correction" which
+    seemed to provide more trouble than benefits..
 
 2003-02-13  Graham Asher  <[email protected]>
 
--- a/src/autohint/ahhint.c
+++ b/src/autohint/ahhint.c
@@ -1428,9 +1428,11 @@
         hinter->pp1.x = ( ( new_lsb    - old_lsb ) + 32 ) & -64;
         hinter->pp2.x = ( ( edge2->pos + old_rsb ) + 32 ) & -64;
 
+#if 0
         /* try to fix certain bad advance computations */
         if ( hinter->pp2.x + hinter->pp1.x == edge2->pos && old_rsb > 4 )
           hinter->pp2.x += 64;
+#endif
       }
 
       /* good, we simply add the glyph to our loader's base */