[autofit] Fix `make multi'.

* include/freetype/internal/fttrace.h: Add `afmodule'.
* src/autofit/afmodule.c: Include FT_INTERNAL_DEBUG_H.
(FT_COMPONENT): Define.
This commit is contained in:
Werner Lemberg 2012-09-14 11:57:36 +02:00
parent 688da8eea7
commit 6d29c5cbe3
3 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,11 @@
2012-09-14 Werner Lemberg <wl@gnu.org>
[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 <wl@gnu.org> 2012-09-14 Werner Lemberg <wl@gnu.org>
* src/autofit/afmodule.c: s/FT_Autofitter/AF_Module/. * src/autofit/afmodule.c: s/FT_Autofitter/AF_Module/.

View File

@ -136,6 +136,7 @@ FT_TRACE_DEF( gxvprop )
FT_TRACE_DEF( gxvlcar ) FT_TRACE_DEF( gxvlcar )
/* autofit components */ /* autofit components */
FT_TRACE_DEF( afmodule )
FT_TRACE_DEF( afhints ) FT_TRACE_DEF( afhints )
FT_TRACE_DEF( afcjk ) FT_TRACE_DEF( afcjk )
FT_TRACE_DEF( aflatin ) FT_TRACE_DEF( aflatin )

View File

@ -28,10 +28,21 @@
#endif #endif
#include FT_INTERNAL_OBJECTS_H #include FT_INTERNAL_OBJECTS_H
#include FT_INTERNAL_DEBUG_H
#include FT_AUTOHINTER_H #include FT_AUTOHINTER_H
#include FT_SERVICE_PROPERTIES_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 FT_Error
af_property_set( FT_Library library, af_property_set( FT_Library library,
const char* property_name, const char* property_name,