Jun.Wang wrote:
Thanks very much for your kindly and carefully reply.
I runs my programe on windows, I modified the FT_Done_FreeType, so I can
call it several times to report current memory.
With you reply, I know without FT_Done_FreeType there will be some memory
not be released.
If there
I use Arial.ttf. I uploaded my test project. Please Check.
http://www.nabble.com/file/p22413476/GenfontData.rar
I slightly modified (and formatted) your program so that it runs
without errors using g++ -- in particular, g++ doesn't like jumps
which cross an initialization. I compiled with
Bugzilla from w...@gnu.org wrote:
Please upgrade to version 2.3.7 (or the current CVS or 2.3.9 next
week) and try again.
Werner
I use ver2.3.7 test again. Follows are the memory report:
//only 1 character
FreeType Memory Dump: current=107502 max=107654 total=125708
2009/3/7 Jun.Wang xjw...@sunmedia.com.cn
I did the memory debug with a little modify.
1. In FT_Done_FreeType( FT_Library library ), I disabled the line:
FT_Done_Library( library ), so the memory report will disaply the current
memory.
???
2. I call FT_Done_FreeType() before
David Turner-5 wrote:
This is a bug in your program. After FT_Done_FreeType() is called, every
memory allocated
by the corresponding FT_Library should be released (with the exception of
FT_Glyph objects
allocated by the user, but you are responsible for free-ing them before