shithub: freetype+ttf2subf

Download patch

ref: 5668181bdad1e985125a7e5c3e93d5e6bc399bfc
parent: a115142057f98104cbe745be9ed9175fd7357e43
author: suzuki toshiya <[email protected]>
date: Fri Jul 31 20:32:18 EDT 2009

truetype: Extend mmvar_len to hold size_t values.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
 2009-07-31  suzuki toshiya <[email protected]>
 
+	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 <[email protected]>
+
 	truetype: Check invalid function number in IDEF instruction.
 
 	* src/truetype/ttinterp.c (Ins_IDEF): Check
--- a/src/truetype/ttgxvar.h
+++ b/src/truetype/ttgxvar.h
@@ -84,7 +84,7 @@
     FT_Fixed*       normalizedcoords;
 
     FT_MM_Var*      mmvar;
-    FT_Int          mmvar_len;
+    FT_Offset       mmvar_len;
 
     FT_Bool         avar_checked;
     GX_AVarSegment  avar_segment;