shithub: freetype+ttf2subf

Download patch

ref: 610cddcac4c4c6dfd0d7bd4a8bb22288a78591c6
parent: 858abbedc0c156965aba830bfc2072a3c21144cf
author: Werner Lemberg <[email protected]>
date: Fri Jun 26 03:39:08 EDT 2009

[truetype] Remove TT_SubGlyphRec.

* src/truetype/ttobjs.h (TT_SubGlyphRec): Removed, unused.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2009-06-26  Werner Lemberg  <[email protected]>
 
+	[truetype] Remove TT_SubGlyphRec.
+
+	* src/truetype/ttobjs.h (TT_SubGlyphRec): Removed, unused.
+
+2009-06-26  Werner Lemberg  <[email protected]>
+
 	* */*: For warning messages, replace FT_ERROR with FT_TRACE0.
 
 	FT_ERROR is now used only if a function produces a non-zero `error'
--- a/src/truetype/ttobjs.h
+++ b/src/truetype/ttobjs.h
@@ -196,38 +196,6 @@
 
   /*************************************************************************/
   /*                                                                       */
-  /* Subglyph loading record.  Used to load composite components.          */
-  /*                                                                       */
-  typedef struct  TT_SubglyphRec_
-  {
-    FT_Long          index;        /* subglyph index; initialized with -1 */
-    FT_Bool          is_scaled;    /* is the subglyph scaled?             */
-    FT_Bool          is_hinted;    /* should it be hinted?                */
-    FT_Bool          preserve_pps; /* preserve phantom points?            */
-
-    FT_Long          file_offset;
-
-    FT_BBox          bbox;
-    FT_Pos           left_bearing;
-    FT_Pos           advance;
-
-    TT_GlyphZoneRec  zone;
-
-    FT_Long          arg1;         /* first argument                      */
-    FT_Long          arg2;         /* second argument                     */
-
-    FT_UShort        element_flag; /* current load element flag           */
-
-    TT_Transform     transform;    /* transformation matrix               */
-
-    FT_Vector        pp1, pp2;     /* phantom points (horizontal)         */
-    FT_Vector        pp3, pp4;     /* phantom points (vertical)           */
-
-  } TT_SubGlyphRec, *TT_SubGlyph_Stack;
-
-
-  /*************************************************************************/
-  /*                                                                       */
   /* A note regarding non-squared pixels:                                  */
   /*                                                                       */
   /* (This text will probably go into some docs at some time; for now, it  */