Re: [ft-devel] FT_New_Memory_Face crashes

2011-09-07 Thread Louis Desjardins
I apologize, I made a copy\paste error when providing the sample, I have corrected it below as they are in fact the same buffers in the code I'm running. Unfortunately I cannot provide a complete standalone sample as I am working in the Android NDK. LD From: david.be...@pb.com To:

Re: [ft-devel] FT_New_Memory_Face crashes

2011-09-07 Thread Louis Desjardins
Also note, that I have verified that my 'LoadFile' function correctly reads in the input TTF file. I have tested this by writing out the bytes that this function reads in, to a different file, and then comparing the original TTF file with the output. The result is that the two are identical.

Re: [ft-devel] FT_New_Memory_Face crashes

2011-09-07 Thread Chris Morgan
It should be possible to create a self standing example that will compile on a Linux box. It might not have to be fully equivalent as long as it fails in the same way and aids in debugging Chris On Sep 7, 2011, at 12:23 PM, Louis Desjardins lost_bits1...@hotmail.ca wrote: I apologize, I made a

Re: [ft-devel] FT_New_Memory_Face crashes

2011-09-07 Thread Louis Desjardins
I have managed to create a standalone linux app that builds using the same freetype library files and should reproduce the error, however in this case, FT_New_Memory_Face succeeds, but in the Android it fails (despite my checks that the input file integrity and size is maintained.) So

Re: [ft-devel] FT_New_Memory_Face crashes

2011-09-07 Thread Werner LEMBERG
Louis, your attachment is too big for the mailing list. Additionally, it contains a non-free font which is not allowed to be distributed. Please resend it without the font, if necessary, and I'll forward your mail to the list. BTW, trying to compile with g++ -o Standalone \ -O0 -g \

Re: [ft-devel] FT_New_Memory_Face crashes

2011-09-07 Thread Werner LEMBERG
The main difference between the standalone and Android app is the way that the input TTF file is read in, however I verified that my TTF file is read in correctly in Android, by writing out the buffer that I read in to a new file, and then comparing the original with this - they are