freetype2/include/freetype
Priyesh Kumar d46bada285 [base] Add functions and variables to print logs to a file.
* include/freetype/internal/ftdebug.h: Added dlg's header files.
(FT_LOG): New macro to redirect trace logs to dlg's API's whenever
`FT_LOGGING' is defined.
(ft_logging_init, ft_logging_deinit): New functions to handle
initialization and uninitialization of logging related variables.
(ft_log_handler): New function to handle logs of FreeType.

* src/base/ftdebug.c: Add necessary logging related variables.
(ft_logging_init, ft_logging_deinit, ft_log_handler): Add function
definitions.

* src/base/ftinit.c (FT_Init_FreeType) [FT_LOGGING]: Call
`ft_logging_init`.
(FT_Done_FreeType) [FT_LOGGING]: Call `ft_logging_deinit`.

* src/base/ftobjs.c (FT_New_Library): Call `ft_debug_init` only if
`FT_LOGGING` is not defined.
2020-12-01 09:25:39 +01:00
..
config [builds] Necessary changes to make 'dlg' compile. 2020-12-01 09:20:32 +01:00
internal [base] Add functions and variables to print logs to a file. 2020-12-01 09:25:39 +01:00
freetype.h Minor clean-ups of last commit. 2020-10-31 06:52:18 +01:00
ftadvanc.h Minor typos, formatting. 2020-08-04 10:48:42 +02:00
ftbbox.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
ftbdf.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
ftbitmap.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
ftbzip2.h Documentation updates. 2020-09-18 22:32:20 -04:00
ftcache.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
ftchapters.h Add preamble. 2020-10-30 13:53:17 -04:00
ftcid.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
ftcolor.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
ftdriver.h [doc] Stem darkening is off by default for CFF driver. 2020-07-15 09:15:25 +02:00
fterrdef.h Update all copyright notices. 2020-01-19 17:05:19 +01:00
fterrors.h Make macros for header file names optional. 2020-06-08 13:31:55 +02:00
ftfntfmt.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
ftgasp.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
ftglyph.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
ftgxval.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
ftgzip.h Documentation updates. 2020-09-18 22:32:20 -04:00
ftimage.h Fix documentation build. 2020-11-03 22:36:29 +01:00
ftincrem.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
ftlcdfil.h Document changes to last release. 2020-10-10 12:48:18 +02:00
ftlist.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
ftlzw.h Documentation updates. 2020-09-18 22:32:20 -04:00
ftmac.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
ftmm.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
ftmodapi.h Mention external modules. 2020-11-02 14:26:44 -05:00
ftmoderr.h Make macros for header file names optional. 2020-06-08 13:31:55 +02:00
ftotval.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
ftoutln.h Improve FT_Outline_Render docs. 2020-08-28 22:28:47 -04:00
ftparams.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
ftpfr.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
ftrender.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
ftsizes.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
ftsnames.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
ftstroke.h Minor typos, formatting. 2020-08-04 10:48:42 +02:00
ftsynth.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
ftsystem.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
fttrigon.h Make macros for header file names optional. 2020-06-08 13:31:55 +02:00
fttypes.h Make macros for header file names optional. 2020-06-08 13:31:55 +02:00
ftwinfnt.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
t1tables.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
ttnameid.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
tttables.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00
tttags.h Remove redundant inclusion of `ft2build.h'. 2020-06-13 21:15:45 +02:00