shithub: freetype+ttf2subf

Download patch

ref: 6d29c5cbe3abe578430fcc5f90a943740d539f90
parent: 688da8eea7149f087be725bd6b0a9d4b00139521
author: Werner Lemberg <[email protected]>
date: Fri Sep 14 07:57:36 EDT 2012

[autofit] Fix `make multi'.

* include/freetype/internal/fttrace.h: Add `afmodule'.
* src/autofit/afmodule.c: Include FT_INTERNAL_DEBUG_H.
(FT_COMPONENT): Define.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2012-09-14  Werner Lemberg  <[email protected]>
 
+	[autofit] Fix `make multi'.
+
+	* include/freetype/internal/fttrace.h: Add `afmodule'.
+	* src/autofit/afmodule.c: Include FT_INTERNAL_DEBUG_H.
+	(FT_COMPONENT): Define.
+
+2012-09-14  Werner Lemberg  <[email protected]>
+
 	* src/autofit/afmodule.c: s/FT_Autofitter/AF_Module/.
 
 2012-09-12  Werner Lemberg  <[email protected]>
--- a/include/freetype/internal/fttrace.h
+++ b/include/freetype/internal/fttrace.h
@@ -136,6 +136,7 @@
 FT_TRACE_DEF( gxvlcar )
 
   /* autofit components */
+FT_TRACE_DEF( afmodule )
 FT_TRACE_DEF( afhints )
 FT_TRACE_DEF( afcjk )
 FT_TRACE_DEF( aflatin )
--- a/src/autofit/afmodule.c
+++ b/src/autofit/afmodule.c
@@ -28,8 +28,19 @@
 #endif
 
 #include FT_INTERNAL_OBJECTS_H
+#include FT_INTERNAL_DEBUG_H
 #include FT_AUTOHINTER_H
 #include FT_SERVICE_PROPERTIES_H
+
+
+  /*************************************************************************/
+  /*                                                                       */
+  /* The macro FT_COMPONENT is used in trace mode.  It is an implicit      */
+  /* parameter of the FT_TRACE() and FT_ERROR() macros, used to print/log  */
+  /* messages during execution.                                            */
+  /*                                                                       */
+#undef  FT_COMPONENT
+#define FT_COMPONENT  trace_afmodule
 
 
   FT_Error