shithub: freetype+ttf2subf

Download patch

ref: 688da8eea7149f087be725bd6b0a9d4b00139521
parent: 7bbbcbfb1aa8c908fe713743f2909ba774b2072e
author: Werner Lemberg <[email protected]>
date: Fri Sep 14 03:55:15 EDT 2012

* src/autofit/afmodule.c: s/FT_Autofitter/AF_Module/.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-09-14  Werner Lemberg  <[email protected]>
+
+	* src/autofit/afmodule.c: s/FT_Autofitter/AF_Module/.
+
 2012-09-12  Werner Lemberg  <[email protected]>
 
 	[autofit] Minor reorganization.
--- a/src/autofit/afmodule.c
+++ b/src/autofit/afmodule.c
@@ -132,16 +132,16 @@
    *  are `swapped in' in function `af_loader_reset'.
    */
 
-  typedef struct  FT_AutofitterRec_
+  typedef struct  AF_ModuleRec_
   {
     FT_ModuleRec  root;
     AF_LoaderRec  loader[1];
 
-  } FT_AutofitterRec, *FT_Autofitter;
+  } AF_ModuleRec, *AF_Module;
 
 
   FT_CALLBACK_DEF( FT_Error )
-  af_autofitter_init( FT_Autofitter  module )
+  af_autofitter_init( AF_Module  module )
   {
     return af_loader_init( module->loader, module->root.library->memory );
   }
@@ -148,7 +148,7 @@
 
 
   FT_CALLBACK_DEF( void )
-  af_autofitter_done( FT_Autofitter  module )
+  af_autofitter_done( AF_Module  module )
   {
     af_loader_done( module->loader );
   }
@@ -155,11 +155,11 @@
 
 
   FT_CALLBACK_DEF( FT_Error )
-  af_autofitter_load_glyph( FT_Autofitter  module,
-                            FT_GlyphSlot   slot,
-                            FT_Size        size,
-                            FT_UInt        glyph_index,
-                            FT_Int32       load_flags )
+  af_autofitter_load_glyph( AF_Module     module,
+                            FT_GlyphSlot  slot,
+                            FT_Size       size,
+                            FT_UInt       glyph_index,
+                            FT_Int32      load_flags )
   {
     FT_UNUSED( size );
 
@@ -180,7 +180,7 @@
     autofit_module_class,
 
     FT_MODULE_HINTER,
-    sizeof ( FT_AutofitterRec ),
+    sizeof ( AF_ModuleRec ),
 
     "autofitter",
     0x10000L,   /* version 1.0 of the autofitter  */