* include/freetype/ftlogging.h (FT_Custom_Log_Handler): New function pointer to store the custom callback logging function. (FT_Set_Log_Handler, FT_Set_Default_Log_Handler): New functions to set and reset custom log handler. * include/freetype/internal/ftdebug.h: Added variables to support custom callback logging function. (FT_Callback): A function to print log using custom callback logging function, which is set using `FT_Set_Log_Handler'. * src/base/ftdebug.c: Added support for handling custom logging callback function. (FT_Set_Log_Handler, FT_Set_Default_Log_Handler, FT_Callback): Added function definitions.GSoC-2020-priyesh
parent
1c095f8174
commit
802176853b
3 changed files with 108 additions and 0 deletions
Loading…
Reference in new issue