Commit b2cb6ce6c4d7d7bd25818d22e60378574692ce8d

Werner Lemberg 2008-11-29T09:32:12

* src/type1/t1load.c (mm_axis_unmap): `blend_points' is FT_Fixed*, whereas `design_points' is FT_Long*. Therefore, return blend rather than design points.

diff --git a/ChangeLog b/ChangeLog
index 108eb42..aebc722 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-11-29  James Cloos  <cloos@jhcloos.com>
+
+	* src/type1/t1load.c (mm_axis_unmap): `blend_points' is FT_Fixed*,
+	whereas `design_points' is FT_Long*.  Therefore, return blend rather
+	than design points.
+
 2008-11-27  Werner Lemberg  <wl@gnu.org>
 
 	* src/cff/cffparse.c (cff_parse_real): Handle more than nine
diff --git a/src/type1/t1load.c b/src/type1/t1load.c
index 411a2aa..7a98302 100644
--- a/src/type1/t1load.c
+++ b/src/type1/t1load.c
@@ -230,7 +230,7 @@
 
 
     if ( ncv <= axismap->blend_points[0] )
-      return axismap->design_points[0];
+      return axismap->blend_points[0];
 
     for ( j = 1; j < axismap->num_points; ++j )
     {
@@ -249,7 +249,7 @@
       }
     }
 
-    return axismap->design_points[axismap->num_points - 1];
+    return axismap->blend_points[axismap->num_points - 1];
   }