shithub: freetype+ttf2subf

Download patch

ref: 674ba91f1234b92a9932da7b62e36f61fea01e94
parent: f7cc181425bbcd24f4005f5d348b9e0a2a269727
author: Werner Lemberg <[email protected]>
date: Wed Nov 16 13:09:27 EST 2005

formatting

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,11 +1,11 @@
 2005-11-15  David Turner  <[email protected]>
 
-	* src/base/fttrigon.c (ft_trig_prenorm): fixed a bug that created
+	* src/base/fttrigon.c (ft_trig_prenorm): Fix a bug that created
 	invalid computations, resulting in very weird bugs in TrueType
-	bytecode hinted fonts
+	bytecode hinted fonts.
 
-	* src/truetype/ttinterp.c: redefined FT_UNUSED_EXEC to not perform
-	a structure copy each time. Wooot. !
+	* src/truetype/ttinterp.c (FT_UNUSED_EXEC): Don't perform a
+	structure copy each time.
 
 2005-11-11  Werner Lemberg  <[email protected]>
 
--- a/src/truetype/ttinterp.c
+++ b/src/truetype/ttinterp.c
@@ -94,13 +94,18 @@
 
 #define CUR  (*exc)                             /* see ttobjs.h */
 
-#define  FT_UNUSED_EXEC  FT_UNUSED(exc)
+  /*************************************************************************/
+  /*                                                                       */
+  /* This macro is used whenever `exec' is unused in a function, to avoid  */
+  /* stupid warnings from pedantic compilers.                              */
+  /*                                                                       */
+#define FT_UNUSED_EXEC  FT_UNUSED( exc )
 
 #else                                           /* static implementation */
 
 #define CUR  cur
 
-#define  FT_UNUSED_EXEC  int  __dummy=__dummy
+#define FT_UNUSED_EXEC  int  __dummy = __dummy
 
   static
   TT_ExecContextRec  cur;   /* static exec. context variable */
@@ -117,14 +122,6 @@
   /* The instruction argument stack.                                       */
   /*                                                                       */
 #define INS_ARG  EXEC_OP_ FT_Long*  args    /* see ttobjs.h for EXEC_OP_ */
-
-
-  /*************************************************************************/
-  /*                                                                       */
-  /* This macro is used whenever `exec' is unused in a function, to avoid  */
-  /* stupid warnings from pedantic compilers.                              */
-  /*                                                                       */
-/* #define FT_UNUSED_EXEC  FT_UNUSED( CUR ) */
 
 
   /*************************************************************************/