forked from minhngoc25a/freetype2
* docs/DEBUG: Update documentation.
This commit is contained in:
parent
c96739bfc9
commit
faa3ee95a5
|
@ -1,5 +1,7 @@
|
||||||
2020-08-24 Priyesh Kumar <priyeshkkumar@gmail.com>
|
2020-08-24 Priyesh Kumar <priyeshkkumar@gmail.com>
|
||||||
|
|
||||||
|
* docs/DEBUG: Update documentation.
|
||||||
|
|
||||||
* builds/windows/ftdebug.c (ft_logging_init, ft_logging_init):
|
* builds/windows/ftdebug.c (ft_logging_init, ft_logging_init):
|
||||||
Fixed coding style.
|
Fixed coding style.
|
||||||
|
|
||||||
|
|
16
docs/DEBUG
16
docs/DEBUG
|
@ -42,8 +42,9 @@ located in the file `ftoption.h'. The macros are:
|
||||||
Now, `FT_TRACE' and `FT_ERROR' macros will start sending the
|
Now, `FT_TRACE' and `FT_ERROR' macros will start sending the
|
||||||
tracing and debugging messages to the file system instead of
|
tracing and debugging messages to the file system instead of
|
||||||
`stderr'.
|
`stderr'.
|
||||||
On the file system the log file with name `freetype2.log' will be
|
On the file system the log file will be generated on the path
|
||||||
generated in the same directory where the executable is placed.
|
specified using `FT_LOGGING_FILE' environment variable(more on
|
||||||
|
this later).
|
||||||
|
|
||||||
There is an additional support of logging Time and the name of
|
There is an additional support of logging Time and the name of
|
||||||
the `FT_COMPONENT' from which the current log is generated along
|
the `FT_COMPONENT' from which the current log is generated along
|
||||||
|
@ -202,6 +203,17 @@ behaviour of FreeType at runtime.
|
||||||
|
|
||||||
[{ttload}] table directory loaded
|
[{ttload}] table directory loaded
|
||||||
|
|
||||||
|
FT_LOGGING_FILE
|
||||||
|
|
||||||
|
This variable is only used when FreeType is built with
|
||||||
|
`FT_LOGGING' macro defined. It contains the path to the file where
|
||||||
|
the user wants to put his log file.
|
||||||
|
|
||||||
|
On Linux with bash:
|
||||||
|
export FT_LOGGING_FILE="/tmp/freetype2.log"
|
||||||
|
|
||||||
|
On Windows:
|
||||||
|
set FT_LOGGING_FILE=C:\Users\AppData\Local\Temp\freetype2.log
|
||||||
|
|
||||||
FT2_DEBUG_MEMORY
|
FT2_DEBUG_MEMORY
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue