shithub: freetype+ttf2subf

Download patch

ref: ee06410b0aabc0ae466fd8919b4e4850056ae679
parent: 971517ac8e9fb75b0b2ef944a62199fc4fcb0ffe
author: David Turner <[email protected]>
date: Tue Jul 9 12:49:12 EDT 2002

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

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2002-07-09  Owen Taylor   <[email protected]>
+
+    * 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  <[email protected]>
 
     * src/base/ftglyph.c (FT_Glyph_To_Bitmap): added code to return succesfully
--- 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;
--- 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-- )
         {