Hi, On Fri, Jun 19, 2015 at 9:32 PM, Werner LEMBERG <[email protected]> wrote:
> > > I was using freetype 2.4 version in my embedded application for > > rendering ttf files only. It uses about 12 KB heap size, when I set > > FT_RENDER_POOL_SIZE to 4096 Bytes. But in freetype 2.6 ,it takes > > around 20 KB heap size minimum. Here I could observe ,freetype 2.6 > > doesn't use raster_pool anymore. > > Yes, Behdad rewrote the B/W rasterizer code to make it thread-safe. > It is possible that due to that change a larger heap size is > necessary. > I only removed heap allocations (and replaced them with stack allocations). So something else must be goig on. Can you instrument where the allocations are coming from? behdad > > 1. What is the minimum heap size needed for freetype to rasterize > > ttf files as a binary image? (I don't need smoothing and gray > > shades) > > > > 2. How can I minimize heap size in freetype 2.6 for this purpose? > > Behdad, can you answer these two questions? > > > Werner >
_______________________________________________ Freetype mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/freetype
