summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsuzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>2009-07-03 18:01:37 +0900
committersuzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>2009-07-03 18:01:37 +0900
commit089e4a53e565be6294c9fa68876e4cfc467ed05f (patch)
tree0df305ddb01c68127dacff055673638e38a5a4a3
parent1e597e5e860e3196119dcd2e17f356031a319a88 (diff)
downloadfreetype2-089e4a53e565be6294c9fa68876e4cfc467ed05f.tar.gz
pfr: Fix a data type mismatching with its source.
-rw-r--r--ChangeLog8
-rw-r--r--src/pfr/pfrtypes.h2
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6b25a18fc..138aa707e 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-03 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 84149ea07..d90483923 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;