shithub: freetype+ttf2subf

Download patch

ref: c4420d97f465a7931cda29941e1cf7f0b2aef661
parent: 471980d9dc246da210d73fc91c27627cfdce076d
author: suzuki toshiya <[email protected]>
date: Fri Jul 31 20:32:21 EDT 2009

pfr: Fix a data type mismatching with its source.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 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().
+
+2009-07-31  suzuki toshiya <[email protected]>
+
 	smooth: Improve the format in debug message.
 
 	* src/smooth/ftgrays.c (gray_dump_cells): Improve the
--- a/src/pfr/pfrtypes.h
+++ b/src/pfr/pfrtypes.h
@@ -260,7 +260,7 @@
     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;