From ee06410b0aabc0ae466fd8919b4e4850056ae679 Mon Sep 17 00:00:00 2001 From: David Turner Date: Tue, 9 Jul 2002 16:49:12 +0000 Subject: [PATCH] * src/pshinter/pshglob.c: fixed a bug that prevented the hinter from using correct standard width and height values. resulting in hinting bugs with certain fonts (e.g. Utopia) --- ChangeLog | 6 ++++++ src/base/ftdebug.c | 2 +- src/pshinter/pshglob.c | 7 +++---- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4239c3765..735e82528 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-07-09 Owen Taylor + + * src/pshinter/pshglob.c: fixed a bug that prevented the hinter from using + correct standard width and height values. resulting in hinting bugs with + certain fonts (e.g. Utopia) + 2002-07-07 David Turner * src/base/ftglyph.c (FT_Glyph_To_Bitmap): added code to return succesfully diff --git a/src/base/ftdebug.c b/src/base/ftdebug.c index 65c823d73..caa3c74a2 100644 --- a/src/base/ftdebug.c +++ b/src/base/ftdebug.c @@ -133,7 +133,7 @@ q = p; while ( *p && *p != ':' ) p++; - + if ( *p == ':' && p > q ) { int n, i, len = p - q; diff --git a/src/pshinter/pshglob.c b/src/pshinter/pshglob.c index ef71396c3..0cb5a4704 100644 --- a/src/pshinter/pshglob.c +++ b/src/pshinter/pshglob.c @@ -629,7 +629,7 @@ PSH_Width write = dim->stdw.widths; - write->org = priv->standard_width[1]; + write->org = priv->standard_width[0]; write++; read = priv->snap_widths; @@ -649,9 +649,8 @@ PSH_Width write = dim->stdw.widths; - write->org = priv->standard_height[1]; - write++; - + write->org = priv->standard_height[0]; + write++; read = priv->snap_heights; for ( count = priv->num_snap_heights; count > 0; count-- ) {