Commit ee06410b0aabc0ae466fd8919b4e4850056ae679

David Turner 2002-07-09T16:49:12

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

diff --git a/ChangeLog b/ChangeLog
index 4239c37..735e825 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2002-07-09  Owen Taylor   <owen@redhat.com>
+
+    * 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  <david@freetype.org>
 
     * 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 65c823d..caa3c74 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 ef71396..0cb5a47 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-- )
         {