Dear FreeType Developers,

I have a few questions regarding freetype memory consumption upper bound; I
am using Freetyper version 2.3.7

(1) static array: currently we know that all memory consumption by freetype
is done through malloc calls and its variants. However, is there any other
memory used in freetype, such as global arrays, which are used for memory
allocation? If so, do they need any kind of configuration?

(2) Is there a way for determining the upper bound of memory usage for
freetype when cache is being used. I know that we can set the upper bound
for cache nodes (glyph image, cmap, sbitchace, etc.), but is there a way to
determine the memory consumption for FT_FACE and FT_SIZE? From what I have
seen regarding this, we can only limit the number of FT_FACE and FT_SIZE;
however, how to determine the memory requirements for a given number of
allowable FT_FACE and FT_SIZE. I am using freetype for an embedded system at
the moment, thus, memory is really a constraint, and it's very important for
me to be able to determine the size of the heap.


best regards

Maggy Anastasia Suryanto
_______________________________________________
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to