diff options
author | suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> | 2009-07-03 18:01:38 +0900 |
---|---|---|
committer | suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> | 2009-07-03 18:01:38 +0900 |
commit | dd045a511b84d09542d9022ae11796856379bf3b (patch) | |
tree | 47af076b3a1b4535645c0a61896259030fb71e9d | |
parent | 089e4a53e565be6294c9fa68876e4cfc467ed05f (diff) | |
download | freetype2-dd045a511b84d09542d9022ae11796856379bf3b.tar.gz |
pfr: Fix a data type mismatching with its source.
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | src/pfr/pfrtypes.h | 2 |
2 files changed, 10 insertions, 1 deletions
@@ -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-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_PhysFont->chars_offset is extended from FT_UInt32 to FT_Offset, because it is calculated with the pointer difference in pfr_phy_font_load(). diff --git a/src/pfr/pfrtypes.h b/src/pfr/pfrtypes.h index d90483923..918310814 100644 --- a/src/pfr/pfrtypes.h +++ b/src/pfr/pfrtypes.h @@ -200,7 +200,7 @@ FT_BEGIN_HEADER FT_Byte flags; FT_Short base_adj; FT_UInt pair_size; - FT_UInt32 offset; + FT_Offset offset; FT_UInt32 pair1; FT_UInt32 pair2; |