Commit b12b8c3ce458f972049270847a01565b104ecf21

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

pfr: Fix a data type mismatching with its source.

diff --git a/ChangeLog b/ChangeLog
index ed73081..10529f9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,14 @@
 
 	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().
+
+2009-07-31  suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
+
+	pfr: Fix a data type mismatching with its source.
+
 	* src/pfr/pfrtypes.h: The type of PFR_PhyFont->bct_offset
 	is extended from FT_UInt32 to FT_Long, because it is
 	loaded by FT_STREAM_POS() in pfr_phy_font_load().
diff --git a/src/pfr/pfrtypes.h b/src/pfr/pfrtypes.h
index 84149ea..d904839 100644
--- a/src/pfr/pfrtypes.h
+++ b/src/pfr/pfrtypes.h
@@ -252,7 +252,7 @@ FT_BEGIN_HEADER
     FT_UInt            blue_scale;
 
     FT_UInt            num_chars;
-    FT_UInt32          chars_offset;
+    FT_Offset          chars_offset;
     PFR_Char           chars;
 
     FT_UInt            num_kern_pairs;