shithub: freetype+ttf2subf

Download patch

ref: cdb6e70a36ce10401f9914e3cdb639e6ba1b460d
parent: 44bb303510725735ca2650bdd524af25abab0c71
author: Werner Lemberg <[email protected]>
date: Mon Apr 26 04:09:30 EDT 2004

* src/truetype/ttgxvar.c (ft_var_apply_tuple): Fix typo.


* src/truetype/Jamfile, docs/CHANGES: Updated.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2004-04-25  George Williams  <[email protected]>
+
+	* src/truetype/ttgxvar.c (ft_var_apply_tuple): Fix typo.
+
+2004-04-25  Werner Lemberg  <[email protected]>
+
+	* src/truetype/Jamfile, docs/CHANGES: Updated.
+
 2004-04-24  Werner Lemberg  <[email protected]>
 
 	* src/pcf/pcfdrivr.c: Revert change from 2004-04-17.
--- a/docs/CHANGES
+++ b/docs/CHANGES
@@ -9,6 +9,14 @@
       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
--- 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 @@
 
   if $(FT2_MULTI)
   {
-    _sources = ttdriver ttobjs ttpload ttgload ttinterp ;
+    _sources = ttdriver ttobjs ttpload ttgload ttinterp ttgxvar ;
   }
   else
   {
--- 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] ||