* 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)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
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-- )
{