Re: [ft-devel] character spacing

2011-09-19 Thread Louis Desjardins
Thanks! Well when I perform this search, no 'GPOS' text is found, but I do find the text 'kern' - so at least Freetype can handle this file. I also tried the tool ttx as you suggested - thanks for this tip! Indeed it turns out that the 'kern' table does not have any of the pairs I was looking

Re: [ft-devel] character spacing

2011-09-19 Thread Louis Desjardins
; freetype-devel@nongnu.org Subject: Re: [ft-devel] character spacing On 09/19/11 01:21, Louis Desjardins wrote: Also - as I have already invested much time in Freetype I no longer have time to integrate a different library such as Pango - is there somewhere I can obtain freely

[ft-devel] character spacing

2011-09-18 Thread Louis Desjardins
In order to draw my text, I currently make calls to: FT_Get_Char_IndexFT_Load_GlyphFT_Render_Glyph and then I store the bitmap of each ascii character to memory, so that once I actually render the character, I can simply call on the stored bitmap. The

Re: [ft-devel] character spacing

2011-09-18 Thread Louis Desjardins
Thanks for your reply - Note, however, that today many fonts contain kerning in the GPOS table which is not handled by FreeType. Instead, you have to use a higher-level library like Pango or ICU. FT_HAS_KERNING will return true for these types of fonts? When I call, FT_Get_Kerning, the

[ft-devel] Sample TTF file?

2011-09-09 Thread Louis Desjardins
Is there a sample TTF file available that I could use to test out my code using Freetype? Though none of my FT calls result in error, I end up getting zero for my FT_Bitmap width and rows, and am not sure if it's my code or the TTF that I'm using? Thank-you! FT_Library library;

Re: [ft-devel] FT_New_Memory_Face crashes

2011-09-08 Thread Louis Desjardins
to allocate the buffer for maximum size. Android devices are very memory limited. br Gernot 2011/9/7 Louis Desjardins lost_bits1...@hotmail.ca Thanks for your reply. I am still trying to get a successful Makefile going so I have not been able to test this standalone app yet, however in case

Re: [ft-devel] FT_New_Memory_Face crashes

2011-09-08 Thread Louis Desjardins
That's a great troubleshooting tip - thank-you. Using this causes the function to succeed in Android - so I am embarrassed to say that the problem is on my end afterall :s I will take it from here, thanks for all the help! Date: Thu, 8 Sep 2011 06:42:34 +0200 To: lost_bits1...@hotmail.ca

Re: [ft-devel] FT_New_Memory_Face crashes

2011-09-08 Thread Louis Desjardins
curious and it would be useful to have in the mailing list archive. Chris On Thu, Sep 8, 2011 at 1:02 PM, Louis Desjardins lost_bits1...@hotmail.ca wrote: That's a great troubleshooting tip - thank-you. Using this causes the function to succeed in Android - so I am embarrassed to say

Re: [ft-devel] FT_New_Memory_Face crashes

2011-09-07 Thread Louis Desjardins
[mailto:freetype-devel-bounces+david.bevan=pb@nongnu.org] On Behalf Of Louis Desjardins Sent: 07 September 2011 00:13 To: freetype-devel@nongnu.org Subject: [ft-devel] FT_New_Memory_Face crashes I have loaded an arial.ttf file (taken from my /Windows/Fonts folder) into memory

Re: [ft-devel] FT_New_Memory_Face crashes

2011-09-07 Thread Louis Desjardins
, FT_NEW_MEMORY_Face() is passed a different buffer from the one created by LoadFile(). From: freetype-devel-bounces+david.bevan=pb@nongnu.org [mailto:freetype-devel-bounces+david.bevan=pb@nongnu.org] On Behalf Of Louis Desjardins Sent: 07 September 2011 00:13 To: freetype-devel

Re: [ft-devel] FT_New_Memory_Face crashes

2011-09-07 Thread Louis Desjardins
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 copy\paste error

[ft-devel] FT_New_Memory_Face crashes

2011-09-06 Thread Louis Desjardins
I have loaded an arial.ttf file (taken from my /Windows/Fonts folder) into memory, however passing this into FT_New_Memory_Face crashes (I have also tried other ttf files, and this function still crashes). Any clues as to what I might be doing wrong? Note that I am using Freetype with the