* docs/DEBUG: Updated.

This commit is contained in:
Werner Lemberg 2004-09-04 06:55:32 +00:00
parent 92c9f105d7
commit 1357c19b65
2 changed files with 4 additions and 3 deletions

View File

@ -2,6 +2,7 @@
* src/base/ftdebug.c (ft_debug_init): Highest debug level is 7,
not 6.
* docs/DEBUG: Updated.
2004-08-30 Werner Lemberg <wl@gnu.org>

View File

@ -20,7 +20,7 @@ located in the file "ftoptions.h". The macros are:
#define this macro if you want to compile both macros FT_ERROR and
FT_TRACE. This also includes the variants FT_TRACE0, FT_TRACE1,
FT_TRACE2, ..., FT_TRACE6.
FT_TRACE2, ..., FT_TRACE7.
The trace macros are used to send debugging messages when an
appropriate "debug level" is configured at runtime through the
@ -94,7 +94,7 @@ its code:
internal file <freetype/internal/fttrace.h>.
Each such component is assigned a "debug level", ranging from 0
to 6, through the use of the FT2_DEBUG environment variable
to 7, through the use of the FT2_DEBUG environment variable
(described below) when a program linked with FreeType starts.
When FT_TRACE is called, its level is compared to the one of the
@ -110,7 +110,7 @@ its code:
FT_TRACE( 2, ( "your %s is not %s\n", "foo", "bar" ) )
The shortcut macros FT_TRACE0, FT_TRACE1, FT_TRACE2_, ... FT_TRACE6
The shortcut macros FT_TRACE0, FT_TRACE1, FT_TRACE2_, ... FT_TRACE7
can be used with constant level indices, and are much cleaner to
use, as in