|
From: | Behdad Esfahbod |
Subject: | Re: [ft] How can I Minimize Heap Size in Freetype 2.6? |
Date: | Mon, 22 Jun 2015 13:14:38 -0700 |
> 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.
> 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
[Prev in Thread] | Current Thread | [Next in Thread] |