shithub: freetype+ttf2subf

Download patch

ref: ebf8e294fc6527f82a307492c21eef4df778f449
parent: 9f50873a8120383890993d233d409b3e1c004619
author: suzuki toshiya <[email protected]>
date: Fri Jul 31 20:30:19 EDT 2009

cache: 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]>
 
+	cache: Fix some data types mismatching with their sources.
+
+	* src/cache/ftcsbits.c (ftc_snode_load): The types
+	of `xadvance' and `yadvance' are matched with
+	FT_GlyphSlot->advance.{x|y}.
+
+2009-07-31  suzuki toshiya <[email protected]>
+
 	cache: Cast NULL to a required function type explicitly.
 
 	* src/cache/ftcmanag.c (FTC_Manager_RemoveFaceID):
--- a/src/cache/ftcsbits.c
+++ b/src/cache/ftcsbits.c
@@ -129,7 +129,7 @@
       FT_Int        temp;
       FT_GlyphSlot  slot   = face->glyph;
       FT_Bitmap*    bitmap = &slot->bitmap;
-      FT_Int        xadvance, yadvance;
+      FT_Pos        xadvance, yadvance; /* FT_GlyphSlot->advance.{x|y} */
 
 
       if ( slot->format != FT_GLYPH_FORMAT_BITMAP )