Commit cdb6e70a36ce10401f9914e3cdb639e6ba1b460d

Werner Lemberg 2004-04-26T08:09:30

* src/truetype/ttgxvar.c (ft_var_apply_tuple): Fix typo. * src/truetype/Jamfile, docs/CHANGES: Updated.

diff --git a/ChangeLog b/ChangeLog
index 6687651..2ab420d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2004-04-25  George Williams  <gww@silcom.com>
+
+	* src/truetype/ttgxvar.c (ft_var_apply_tuple): Fix typo.
+
+2004-04-25  Werner Lemberg  <wl@gnu.org>
+
+	* src/truetype/Jamfile, docs/CHANGES: Updated.
+
 2004-04-24  Werner Lemberg  <wl@gnu.org>
 
 	* src/pcf/pcfdrivr.c: Revert change from 2004-04-17.
diff --git a/docs/CHANGES b/docs/CHANGES
index 6daf328..ee61c28 100644
--- a/docs/CHANGES
+++ b/docs/CHANGES
@@ -9,6 +9,14 @@ LATEST CHANGES BETWEEN 2.1.9 and 2.1.8
       cmap caches.)
 
 
+  II. IMPORTANT CHANGES
+
+    - George  Williams   contributed  code  to   handle  Apple's  font
+      distortion technology found in GX fonts (`avar', `cvar', `fvar',
+      and `gvar' tables;  the Multiple Masters  API has been  slightly
+      extended to cope with the new functionality.
+
+
 ======================================================================
 
 LATEST CHANGES BETWEEN 2.1.8 and 2.1.7
diff --git a/src/truetype/Jamfile b/src/truetype/Jamfile
index f847f6f..bb7e05e 100644
--- a/src/truetype/Jamfile
+++ b/src/truetype/Jamfile
@@ -1,4 +1,4 @@
-# FreeType 2 src/truetype Jamfile (c) 2001 David Turner
+# FreeType 2 src/truetype Jamfile (c) 2001, 2004 David Turner
 #
 
 SubDir  FT2_TOP $(FT2_SRC_DIR) truetype ;
@@ -8,7 +8,7 @@ SubDir  FT2_TOP $(FT2_SRC_DIR) truetype ;
 
   if $(FT2_MULTI)
   {
-    _sources = ttdriver ttobjs ttpload ttgload ttinterp ;
+    _sources = ttdriver ttobjs ttpload ttgload ttinterp ttgxvar ;
   }
   else
   {
diff --git a/src/truetype/ttgxvar.c b/src/truetype/ttgxvar.c
index 76bd07e..e81f4df 100644
--- a/src/truetype/ttgxvar.c
+++ b/src/truetype/ttgxvar.c
@@ -516,7 +516,7 @@
         apply = FT_MulDiv( apply,
                            blend->normalizedcoords[i] > 0
                              ? blend->normalizedcoords[i]
-                             : blend->normalizedcoords[i],
+                             : -blend->normalizedcoords[i],
                            0x10000L );
 
       else if ( blend->normalizedcoords[i] <= im_start_coords[i] ||