shithub: freetype+ttf2subf

Download patch

ref: 75d56e5d7986659ec6b6ad6cf42cc2c6f6a76ae2
parent: c595c06c61527f1386aa0a16a2a66bfbad3f049f
author: suzuki toshiya <[email protected]>
date: Fri Jul 31 20:32:12 EDT 2009

pcf: Fix some data types mismatching with their sources.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2009-07-31  suzuki toshiya <[email protected]>
 
+	pcf: Fix some data types mismatching with their sources.
+
+	* src/pcf/pcfread.c (pcf_get_bitmaps): The types
+	of `nbitmaps', `i', `sizebitmaps' are matched with
+	the type of area FT_Bitmap.pitch * FT_Bitmap.rows.
+
+2009-07-31  suzuki toshiya <[email protected]>
+
 	pcf: Handle the string length by size_t variables.
 
 	* src/pcf/pcfread.c (pcf_interpret_style): The types
--- a/src/pcf/pcfread.c
+++ b/src/pcf/pcfread.c
@@ -661,7 +661,7 @@
     FT_Long*   offsets;
     FT_Long    bitmapSizes[GLYPHPADOPTIONS];
     FT_ULong   format, size;
-    int        nbitmaps, i, sizebitmaps = 0;
+    FT_ULong   nbitmaps, i, sizebitmaps = 0;
 
 
     error = pcf_seek_to_table_type( stream,