Re: [freetype2] anuj-distance-field fdf4191: [sdf] Added memory tracker.

2020-07-17 Thread Werner LEMBERG
> How is this: > https://lists.nongnu.org/archive/html/freetype-commit/2020-07/msg00067.html > ? Nice! However, I think it's better to have two versions of `SFD_ALLOC` and `SFD_FREE` depending on whether debugging is enabled or not. There should be zero overhead for the non-debugging case.

Re: [Freetype-devel] Re: GSOC - Distance Fields

2020-07-17 Thread Alexei Podtelezhnikov
Hi Anuj > Which one do you think is better ? I prefer the second one i.e. adding > another renderer within the `sdf' module. That way I can share some > of the code, whereas creating another module will require me to > rewrite everything. Same module with two renderers as you described makes

Re: [Freetype-devel] Re: GSOC - Distance Fields

2020-07-17 Thread Anuj Verma
>> * `FT_Lookup_Renderer' uses renderer format which is currently >> `FT_GLYPH_FORMAT_OUTLINE' for the `sdf' module. How can >>make it accept both outline and bitmap glyph format ? > > Regarding the second issue I think that you probably have to create a > second renderer that shares most

Re: Logging Library-GSOC

2020-07-17 Thread Priyesh kumar
Hello, I have tried the query performance counter/frequency method for example program: (https://www.freetype.org/freetype2/docs/tutorial/example1.c) on Windows with arial.ttf and FT2_DEBUG=any:7 on string:"qwertyuiopasdfghjklzxcvbnm" which produced 24260 logs. I have executed the test program