shithub: freetype+ttf2subf

Download patch

ref: 185606a64d06eb398700f0e399c45e945320ce6e
parent: f24d0793f1a837e869cfcd1a06275a06dae4bd1c
author: Werner Lemberg <[email protected]>
date: Sat Feb 11 09:34:05 EST 2012

We don't use `extensions'.

* include/freetype/internal/ftobjs.h (FT_DriverRec): Remove
`extensions' field.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2012-02-11  Werner Lemberg  <[email protected]>
 
+	We don't use `extensions'.
+
+	* include/freetype/internal/ftobjs.h (FT_DriverRec): Remove
+	`extensions' field.
+
+2012-02-11  Werner Lemberg  <[email protected]>
+
 	Clean up `generic' fields.
 
 	* include/freetype/internal/ftobjs.h (FT_ModuleRec, FT_LibraryRec):
--- a/include/freetype/freetype.h
+++ b/include/freetype/freetype.h
@@ -958,8 +958,8 @@
 
     FT_ListRec        sizes_list;
 
-    FT_Generic        autohint;
-    void*             extensions;
+    FT_Generic        autohint;   /* face-specific auto-hinter data */
+    void*             extensions; /* unused                         */
 
     FT_Face_Internal  internal;
 
--- a/include/freetype/internal/ftobjs.h
+++ b/include/freetype/internal/ftobjs.h
@@ -708,10 +708,6 @@
   /*     faces_list   :: The list of faces currently opened by this        */
   /*                     driver.                                           */
   /*                                                                       */
-  /*     extensions   :: A typeless pointer to the driver's extensions     */
-  /*                     registry, if they are supported through the       */
-  /*                     configuration macro FT_CONFIG_OPTION_EXTENSIONS.  */
-  /*                                                                       */
   /*     glyph_loader :: The glyph loader for all faces managed by this    */
   /*                     driver.  This object isn't defined for unscalable */
   /*                     formats.                                          */
@@ -720,10 +716,7 @@
   {
     FT_ModuleRec     root;
     FT_Driver_Class  clazz;
-
     FT_ListRec       faces_list;
-    void*            extensions;
-
     FT_GlyphLoader   glyph_loader;
 
   } FT_DriverRec;