Hi, I'm a newer. In my programme, after the freetype runing a while, the
memory is low and can't malloc again. So I think there is leak in my
programe. I use freetype2 2.2.1 and get bitmap data like follows:
FT_Load_Glyph(face, glyphIndex, FT_LOAD_RENDER);
FT_Bitmap *bitmap = &(face->glyph->bitmap);
............
//use bitmap->buffer to draw
Should I call FT_Done_Glyph? I don't use FT_Get_Glyph.
--
View this message in context:
http://www.nabble.com/Should-I-call-FT_Done_Glyph%28%29--tp22365373p22365373.html
Sent from the Freetype - User mailing list archive at Nabble.com.
_______________________________________________
Freetype mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype