shithub: freetype+ttf2subf

Download patch

ref: 737634e5e422f9d1887d227b37c547829a31ded5
parent: b12b8c3ce458f972049270847a01565b104ecf21
author: suzuki toshiya <[email protected]>
date: Fri Jul 31 20:32:21 EDT 2009

pfr: Fix a data type mismatching with its source.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,15 @@
 
 	pfr: Fix a data type mismatching with its source.
 
+	* src/pfr/pfrtypes.h: The type of PFR_KernItem->offset
+	is extended from FT_UInt32 to FT_Offset, because it is
+	calculated with the pointer difference, in
+	pfr_extra_item_load_kerning_pairs().
+
+2009-07-31  suzuki toshiya <[email protected]>
+
+	pfr: Fix a data type mismatching with its source.
+
 	* src/pfr/pfrtypes.h: The type of PFR_PhysFont->chars_offset
 	is extended from FT_UInt32 to FT_Offset, because it is
 	calculated with the pointer difference in pfr_phy_font_load().
--- a/src/pfr/pfrtypes.h
+++ b/src/pfr/pfrtypes.h
@@ -200,7 +200,7 @@
     FT_Byte       flags;
     FT_Short      base_adj;
     FT_UInt       pair_size;
-    FT_UInt32     offset;
+    FT_Offset     offset;
     FT_UInt32     pair1;
     FT_UInt32     pair2;