From 21493df9bd187beb6034f97178a4ec9e6b580810 Mon Sep 17 00:00:00 2001 From: David Turner Date: Tue, 18 Feb 2003 22:36:04 +0000 Subject: [PATCH] * src/autohint/ahhint.c: disabled the advance width "correction" which seemed to provide more trouble than benefits.. --- ChangeLog | 2 ++ src/autohint/ahhint.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/ChangeLog b/ChangeLog index 6b8f14928..eb03bf610 100644 --- 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 diff --git a/src/autohint/ahhint.c b/src/autohint/ahhint.c index 59e55d80a..ffc86d604 100644 --- 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 */