When I use FT_New_Memory_Face, the phenomenon is more obvious than FT_New_Face. I have enabled the built-in debugger, and traced those message, I don't know how to determine where the leak: sfnt_init_face: 15916028, 0 tt_face_load_font_dir: 15916028 -- Tables count: 9 -- Format version: 00010000 cvt - 001526f4 - 0000001a fpgm - 00152710 - 0000002e glyf - 0000009c - 00149ff6 head - 00152740 - 00000036 hhea - 00152778 - 00000024 hmtx - 0015279c - 00004732 loca - 0014a094 - 00008660 maxp - 00156ed0 - 00000020 prep - 00156ef0 - 00000088 table directory loaded
sfnt_load_face: 15916028 `head' loaded `maxp' loaded `cmap' missing `name' missing `post' missing `hhea' loaded `hmtx' loaded `vertical hhea' missing `os2' missing `eblc' missing `pclt' missing `gasp' missing `kern' missing sfnt_load_face: done Locations loaded CVT loaded Font program loaded, 46 bytes Prep program loaded, 136 bytes sfnt_init_face: 14C4FEF8, 0 tt_face_load_font_dir: 14C4FEF8 -- Tables count: 9 -- Format version: 00010000 cvt - 00042d94 - 0000001a fpgm - 00042db0 - 0000002e glyf - 0000009c - 0003a698 head - 00042de0 - 00000036 hhea - 00042e18 - 00000024 hmtx - 00042e3c - 00004732 loca - 0003a734 - 00008660 maxp - 00047570 - 00000020 prep - 00047590 - 00000088 table directory loaded sfnt_load_face: 14C4FEF8 `head' loaded `maxp' loaded `cmap' missing `name' missing `post' missing `hhea' loaded `hmtx' loaded `vertical hhea' missing `os2' missing `eblc' missing `pclt' missing `gasp' missing `kern' missing sfnt_load_face: done Locations loaded CVT loaded Font program loaded, 46 bytes Prep program loaded, 136 bytes -----Original Message----- From: David Turner [mailto:[EMAIL PROTECTED] Sent: Monday, June 11, 2007 10:42 PM To: Chris Altick; DingLi(??); [email protected] Subject: RE: [ft-devel] Memory problem? Hi Guys, could you enable the FreType built-in debugger to determine where the leak is ? see the DEBUG file in docs/ for instructions on how to do that, that would be useful. thanks in advance, - David _______________________________________________ Freetype-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/freetype-devel
