shithub: freetype+ttf2subf

Download patch

ref: 2a2beb47c4b7b61be75ca92c96976ef9f33c64f0
parent: 3783dac000c87abf4fa7c1170f048c8207bcf630
author: suzuki toshiya <[email protected]>
date: Fri Jul 31 20:37:57 EDT 2009

sfnt: Extend a few local variables to load 32-bit values.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2009-07-31  suzuki toshiya <[email protected]>
 
+	sfnt: Extend a few local variables to load 32-bit values.
+
+	* src/sfnt/ttkern.c (tt_face_load_kern): Extend `count'
+	and `kern' to load 32-bit values.
+
+2009-07-31  suzuki toshiya <[email protected]>
+
 	pfr: Extend `num_aux' to take 32-bit value.
 
 	* src/pfr/pfrload.c (pfr_phy_font_load): Extend
--- a/src/sfnt/ttkern.c
+++ b/src/sfnt/ttkern.c
@@ -126,8 +126,8 @@
        */
       if ( num_pairs > 0 )
       {
-        FT_UInt  count;
-        FT_UInt  old_pair;
+        FT_ULong  count;
+        FT_ULong  old_pair;
 
 
         old_pair = FT_NEXT_ULONG( p );