shithub: freetype+ttf2subf

Download patch

ref: 82a0e3cd53b82abfa7994e3d0eb66f8e08b48744
parent: 38beff00834ccb0db6c66fb26027ec05d70c3d11
author: Werner Lemberg <[email protected]>
date: Wed Feb 1 00:22:25 EST 2006

s/index/size_index/ to avoid compiler warnings.

git/fs: mount .git/fs: mount/attach disallowed
--- a/include/freetype/internal/ftdriver.h
+++ b/include/freetype/internal/ftdriver.h
@@ -58,7 +58,7 @@
 
   typedef FT_Error
   (*FT_Size_SelectFunc)( FT_Size   size,
-                         FT_ULong  index );
+                         FT_ULong  size_index );
 
   typedef FT_Error
   (*FT_Slot_LoadFunc)( FT_GlyphSlot  slot,
--- a/include/freetype/internal/ftobjs.h
+++ b/include/freetype/internal/ftobjs.h
@@ -479,7 +479,7 @@
   FT_Match_Size( FT_Face          face,
                  FT_Size_Request  req,
                  FT_Bool          ignore_width,
-                 FT_ULong*        index );
+                 FT_ULong*        size_index );
 
 
   /* Use the horizontal metrics to synthesize the vertical metrics. */