1 /**************************************************************************** 2 * 3 * fttrace.h 4 * 5 * Tracing handling (specification only). 6 * 7 * Copyright (C) 2002-2023 by 8 * David Turner, Robert Wilhelm, and Werner Lemberg. 9 * 10 * This file is part of the FreeType project, and may only be used, 11 * modified, and distributed under the terms of the FreeType project 12 * license, LICENSE.TXT. By continuing to use, modify, or distribute 13 * this file you indicate that you have read the license and 14 * understand and accept it fully. 15 * 16 */ 17 18 19 /* definitions of trace levels for FreeType 2 */ 20 21 /* the maximum string length (if the argument to `FT_TRACE_DEF` */ 22 /* gets used as a string) plus one charachter for ':' plus */ 23 /* another one for the trace level */ 24 #define FT_MAX_TRACE_LEVEL_LENGTH (9 + 1 + 1) 25 26 /* the first level must always be `trace_any' */ 27 FT_TRACE_DEF( any ) 28 29 /* base components */ 30 FT_TRACE_DEF( calc ) /* calculations (ftcalc.c) */ 31 FT_TRACE_DEF( gloader ) /* glyph loader (ftgloadr.c) */ 32 FT_TRACE_DEF( glyph ) /* glyph management (ftglyph.c) */ 33 FT_TRACE_DEF( memory ) /* memory manager (ftobjs.c) */ 34 FT_TRACE_DEF( init ) /* initialization (ftinit.c) */ 35 FT_TRACE_DEF( io ) /* i/o interface (ftsystem.c) */ 36 FT_TRACE_DEF( list ) /* list management (ftlist.c) */ 37 FT_TRACE_DEF( objs ) /* base objects (ftobjs.c) */ 38 FT_TRACE_DEF( outline ) /* outline management (ftoutln.c) */ 39 FT_TRACE_DEF( stream ) /* stream manager (ftstream.c) */ 40 41 FT_TRACE_DEF( bitmap ) /* bitmap manipulation (ftbitmap.c) */ 42 FT_TRACE_DEF( checksum ) /* bitmap checksum (ftobjs.c) */ 43 FT_TRACE_DEF( mm ) /* MM interface (ftmm.c) */ 44 FT_TRACE_DEF( psprops ) /* PS driver properties (ftpsprop.c) */ 45 FT_TRACE_DEF( raccess ) /* resource fork accessor (ftrfork.c) */ 46 FT_TRACE_DEF( synth ) /* bold/slant synthesizer (ftsynth.c) */ 47 48 /* rasterizers */ 49 FT_TRACE_DEF( raster ) /* monochrome rasterizer (ftraster.c) */ 50 FT_TRACE_DEF( smooth ) /* anti-aliasing raster (ftgrays.c) */ 51 52 /* ot-svg module */ 53 FT_TRACE_DEF( otsvg ) /* OT-SVG renderer (ftsvg.c) */ 54 55 /* cache sub-system */ 56 FT_TRACE_DEF( cache ) /* cache sub-system (ftcache.c, etc.) */ 57 58 /* SFNT driver components */ 59 FT_TRACE_DEF( sfdriver ) /* SFNT font driver (sfdriver.c) */ 60 FT_TRACE_DEF( sfobjs ) /* SFNT object handler (sfobjs.c) */ 61 FT_TRACE_DEF( sfwoff ) /* WOFF format handler (sfwoff.c) */ 62 FT_TRACE_DEF( sfwoff2 ) /* WOFF2 format handler (sfwoff2.c) */ 63 FT_TRACE_DEF( ttbdf ) /* TrueType embedded BDF (ttbdf.c) */ 64 FT_TRACE_DEF( ttcmap ) /* charmap handler (ttcmap.c) */ 65 FT_TRACE_DEF( ttcolr ) /* glyph layer table (ttcolr.c) */ 66 FT_TRACE_DEF( ttcpal ) /* color palette table (ttcpal.c) */ 67 FT_TRACE_DEF( ttsvg ) /* OpenType SVG table (ttsvg.c) */ 68 FT_TRACE_DEF( ttkern ) /* kerning handler (ttkern.c) */ 69 FT_TRACE_DEF( ttload ) /* basic TrueType tables (ttload.c) */ 70 FT_TRACE_DEF( ttmtx ) /* metrics-related tables (ttmtx.c) */ 71 FT_TRACE_DEF( ttpost ) /* PS table processing (ttpost.c) */ 72 FT_TRACE_DEF( ttsbit ) /* TrueType sbit handling (ttsbit.c) */ 73 74 /* TrueType driver components */ 75 FT_TRACE_DEF( ttdriver ) /* TT font driver (ttdriver.c) */ 76 FT_TRACE_DEF( ttgload ) /* TT glyph loader (ttgload.c) */ 77 FT_TRACE_DEF( ttgxvar ) /* TrueType GX var handler (ttgxvar.c) */ 78 FT_TRACE_DEF( ttinterp ) /* bytecode interpreter (ttinterp.c) */ 79 FT_TRACE_DEF( ttobjs ) /* TT objects manager (ttobjs.c) */ 80 FT_TRACE_DEF( ttpload ) /* TT data/program loader (ttpload.c) */ 81 82 /* Type 1 driver components */ 83 FT_TRACE_DEF( t1afm ) 84 FT_TRACE_DEF( t1driver ) 85 FT_TRACE_DEF( t1gload ) 86 FT_TRACE_DEF( t1load ) 87 FT_TRACE_DEF( t1objs ) 88 FT_TRACE_DEF( t1parse ) 89 90 /* PostScript helper module `psaux' */ 91 FT_TRACE_DEF( afmparse ) 92 FT_TRACE_DEF( cffdecode ) 93 FT_TRACE_DEF( psconv ) 94 FT_TRACE_DEF( psobjs ) 95 FT_TRACE_DEF( t1decode ) 96 97 /* PostScript hinting module `pshinter' */ 98 FT_TRACE_DEF( pshalgo ) 99 FT_TRACE_DEF( pshrec ) 100 101 /* Type 2 driver components */ 102 FT_TRACE_DEF( cffdriver ) 103 FT_TRACE_DEF( cffgload ) 104 FT_TRACE_DEF( cffload ) 105 FT_TRACE_DEF( cffobjs ) 106 FT_TRACE_DEF( cffparse ) 107 108 FT_TRACE_DEF( cf2blues ) 109 FT_TRACE_DEF( cf2hints ) 110 FT_TRACE_DEF( cf2interp ) 111 112 /* Type 42 driver component */ 113 FT_TRACE_DEF( t42 ) 114 115 /* CID driver components */ 116 FT_TRACE_DEF( ciddriver ) 117 FT_TRACE_DEF( cidgload ) 118 FT_TRACE_DEF( cidload ) 119 FT_TRACE_DEF( cidobjs ) 120 FT_TRACE_DEF( cidparse ) 121 122 /* Windows font component */ 123 FT_TRACE_DEF( winfnt ) 124 125 /* PCF font components */ 126 FT_TRACE_DEF( pcfdriver ) 127 FT_TRACE_DEF( pcfread ) 128 129 /* BDF font components */ 130 FT_TRACE_DEF( bdfdriver ) 131 FT_TRACE_DEF( bdflib ) 132 133 /* PFR font component */ 134 FT_TRACE_DEF( pfr ) 135 136 /* OpenType validation components */ 137 FT_TRACE_DEF( otvcommon ) 138 FT_TRACE_DEF( otvbase ) 139 FT_TRACE_DEF( otvgdef ) 140 FT_TRACE_DEF( otvgpos ) 141 FT_TRACE_DEF( otvgsub ) 142 FT_TRACE_DEF( otvjstf ) 143 FT_TRACE_DEF( otvmath ) 144 FT_TRACE_DEF( otvmodule ) 145 146 /* TrueTypeGX/AAT validation components */ 147 FT_TRACE_DEF( gxvbsln ) 148 FT_TRACE_DEF( gxvcommon ) 149 FT_TRACE_DEF( gxvfeat ) 150 FT_TRACE_DEF( gxvjust ) 151 FT_TRACE_DEF( gxvkern ) 152 FT_TRACE_DEF( gxvmodule ) 153 FT_TRACE_DEF( gxvmort ) 154 FT_TRACE_DEF( gxvmorx ) 155 FT_TRACE_DEF( gxvlcar ) 156 FT_TRACE_DEF( gxvopbd ) 157 FT_TRACE_DEF( gxvprop ) 158 FT_TRACE_DEF( gxvtrak ) 159 160 /* autofit components */ 161 FT_TRACE_DEF( afcjk ) 162 FT_TRACE_DEF( afglobal ) 163 FT_TRACE_DEF( afhints ) 164 FT_TRACE_DEF( afmodule ) 165 FT_TRACE_DEF( aflatin ) 166 FT_TRACE_DEF( afshaper ) 167 168 /* SDF components */ 169 FT_TRACE_DEF( sdf ) /* signed distance raster for outlines (ftsdf.c) */ 170 FT_TRACE_DEF( bsdf ) /* signed distance raster for bitmaps (ftbsdf.c) */ 171 172 /* END */ 173