freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ft] Should I call FT_Done_Glyph()?


From: Jun.Wang
Subject: [ft] Should I call FT_Done_Glyph()?
Date: Thu, 5 Mar 2009 18:56:53 -0800 (PST)

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]