Commit 5668181bdad1e985125a7e5c3e93d5e6bc399bfc

suzuki toshiya 2009-08-01T00:32:18

truetype: Extend mmvar_len to hold size_t values.

diff --git a/ChangeLog b/ChangeLog
index 6591003..922b7e4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
 2009-07-31  suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
 
+	truetype: Extend mmvar_len to hold size_t values.
+
+	* src/truetype/ttgxvar.h: The type of
+	GX_BlendRec.mmvar_len is changed from FT_Int to
+	FT_Offset, because TT_Get_MM_Var() calculates it
+	by sizeof() results.
+
+2009-07-31  suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
+
 	truetype: Check invalid function number in IDEF instruction.
 
 	* src/truetype/ttinterp.c (Ins_IDEF): Check
diff --git a/src/truetype/ttgxvar.h b/src/truetype/ttgxvar.h
index 706cb4d..82dfc44 100644
--- a/src/truetype/ttgxvar.h
+++ b/src/truetype/ttgxvar.h
@@ -84,7 +84,7 @@ FT_BEGIN_HEADER
     FT_Fixed*       normalizedcoords;
 
     FT_MM_Var*      mmvar;
-    FT_Int          mmvar_len;
+    FT_Offset       mmvar_len;
 
     FT_Bool         avar_checked;
     GX_AVarSegment  avar_segment;