diff options
author | suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> | 2009-07-03 18:01:37 +0900 |
---|---|---|
committer | suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> | 2009-07-03 18:01:37 +0900 |
commit | 1e597e5e860e3196119dcd2e17f356031a319a88 (patch) | |
tree | 3b2d262cb7e3962c85adfd40041140bfdb34ade5 | |
parent | 1cf2cd8758dc92b37c365b63224a3f83db86b7af (diff) | |
download | freetype2-1e597e5e860e3196119dcd2e17f356031a319a88.tar.gz |
pfr: Fix a data type mismatching with its source.
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | src/pfr/pfrtypes.h | 2 |
2 files changed, 9 insertions, 1 deletions
@@ -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; |