51 #include <exec/types.h> 52 #include <utility/tagitem.h> 53 #include <dos/exall.h> 56 #define __NOLOBALIFACE__ 57 #define __USE_INLINE__ 58 #include <proto/dos.h> 59 #include <clib/debug_protos.h> 64 extern struct DOSIFace *IDOS;
69 #include FT_FREETYPE_H 70 #include FT_INTERNAL_DEBUG_H 73 #if defined( FT_DEBUG_LEVEL_ERROR ) 78 FT_Message(
const char* fmt,
93 FT_Panic(
const char* fmt,
125 #ifdef FT_DEBUG_LEVEL_TRACE 128 int ft_trace_levels[trace_count];
132 #define FT_TRACE_DEF( x ) #x , 134 static const char* ft_trace_toggles[trace_count + 1] =
136 #include FT_INTERNAL_TRACE_H 161 return ft_trace_toggles[
idx];
190 const char* ft2_debug = &buf[0];
194 if ( GetVar(
"FT2_DEBUG", (STRPTR)ft2_debug, 256, LV_VAR ) > 0 )
196 const char*
p = ft2_debug;
203 if ( *p ==
' ' || *p ==
'\t' || *p ==
',' || *p ==
';' || *p ==
'=' )
208 while ( *p && *p !=
':' )
211 if ( *p ==
':' && p > q )
217 for ( n = 0; n < trace_count; n++ )
219 const char* toggle = ft_trace_toggles[
n];
222 for ( i = 0; i <
len; i++ )
224 if ( toggle[i] != q[i] )
228 if ( i == len && toggle[i] == 0 )
244 if ( found >= 0 && level >= 0 )
246 if ( found == trace_any )
249 for ( n = 0; n < trace_count; n++ )
250 ft_trace_levels[n] = level;
253 ft_trace_levels[found] =
level;
GLdouble GLdouble GLdouble GLdouble q
GLenum GLuint GLenum GLsizei const GLchar * buf
FT_Trace_Get_Name(FT_Int idx)