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
commit1e597e5e860e3196119dcd2e17f356031a319a88 (patch)
tree3b2d262cb7e3962c85adfd40041140bfdb34ade5
parent1cf2cd8758dc92b37c365b63224a3f83db86b7af (diff)
downloadfreetype2-1e597e5e860e3196119dcd2e17f356031a319a88.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 0d907746d..6b25a18fc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
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().
+
+2009-07-03 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
+
smooth: Improve the format in debug message.
* src/smooth/ftgrays.c (gray_dump_cells): Improve the
diff --git a/src/pfr/pfrtypes.h b/src/pfr/pfrtypes.h
index c0ae04253..84149ea07 100644
--- a/src/pfr/pfrtypes.h
+++ b/src/pfr/pfrtypes.h
@@ -260,7 +260,7 @@ FT_BEGIN_HEADER
PFR_KernItem* kern_items_tail;
/* not part of the spec, but used during load */
- FT_UInt32 bct_offset;
+ FT_Long bct_offset;
FT_Byte* cursor;
} PFR_PhyFontRec, *PFR_PhyFont;