[ft] A suspicious memory leak in src/truetype/ttgload.c: tt_loader_init

2015-05-15 Thread Grissiom
Hi all, I'm porting FreeType-2.5.5 to an embedded RTOS. However, I found memory leak in looped `FT_Load_Char(fft-face, *text_ptr, FT_LOAD_RENDER)` while the memory won't leak if I set the load_flags ORed with FT_LOAD_NO_HINTING. So I dive into the source code and found in the tt_loader_init, the

Re: [ft] A suspicious memory leak in src/truetype/ttgload.c: tt_loader_init

2015-05-15 Thread Werner LEMBERG
I'm porting FreeType-2.5.5 to an embedded RTOS. However, I found memory leak in looped `FT_Load_Char(fft-face, *text_ptr, FT_LOAD_RENDER)` while the memory won't leak if I set the load_flags ORed with FT_LOAD_NO_HINTING. So I dive into the source code and found in the tt_loader_init, the

[ft] Tahoma rendering differently on Freetype Windows

2015-05-15 Thread Lewis Pike
I've noticed a rendering discrepancy between Freetype and the Windows font engine. I'm comparing output from Freetype 2.5.5 and Windows XP's native rendering. The font in question is Tahoma 12pt rendered at 96 dpi. Note the bowl of the lowercase 'a' differs between the two in the attached