freetype2/[priyesh]ChangeLog

26 lines
1.1 KiB
Plaintext

2020-06-29 Priyesh Kumar <priyeshkkumar@gmail.com>
* Added submodule - dlg library (https://github.com/nyorain/dlg)
in src/dlg.
This library is used as a logger for FreeType.
* include/freetype/config/ftoption.h: Added macro `FT_LOGGING`
to enable/disable logging in FreeType using dlg.
* [builds] unix-cc-in: Added -std=c99, since dlg does not support
C standards below c99.
* include/freetype/internal/ftdebug.h: Created an environment for dlg
support in FreeType.
* include/freetype/internal/ftdebug.h: Added functions `ft_logging_init()` and `ft_logging_deinit()` for
initializing and un-initalizing FILE*.
* src/base/ftdebug.c:
1. Added a FILE* to write logs to file
2. Added function definitions for functions
`ft_logging_init()` and `ft_logging_deinit()`.
* src/base/ftinit.c:
1. Added a function call to `ft_logging_init()` in `FT_Init_FreeType()` if FT_LOGGING macro is enabled.
2. Added a function call to `ft_logging_deinit()` in `FT_Done_FreeType()` if FT_LOGGING macro is enabled.