ref: b12b8c3ce458f972049270847a01565b104ecf21
parent: c4420d97f465a7931cda29941e1cf7f0b2aef661
author: suzuki toshiya <[email protected]>
date: Fri Jul 31 20:32:21 EDT 2009
pfr: Fix a data type mismatching with its source.
--- 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 <[email protected]>
+
+ 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().
--- a/src/pfr/pfrtypes.h
+++ b/src/pfr/pfrtypes.h
@@ -252,7 +252,7 @@
FT_UInt blue_scale;
FT_UInt num_chars;
- FT_UInt32 chars_offset;
+ FT_Offset chars_offset;
PFR_Char chars;
FT_UInt num_kern_pairs;