Re: [ft] diff Pixel height

2010-02-22 Thread samaram s
Hi Werner, i tried like below: error = FT_Load_Glyph( face, glyph_index, FT_LOAD_NO_HINTING); Family name of the font is --- Arial Style name of the font is --- Regular bbox = [-1 0 9 9] *Xmin is still negative. * Can you please provide me syntax if i am doing wrong in setting the flags.How can

Re: [ft] diff Pixel height

2010-02-22 Thread Werner LEMBERG
error = FT_Load_Glyph( face, glyph_index, FT_LOAD_NO_HINTING); Family name of the font is --- Arial Style name of the font is --- Regular bbox = [-1 0 9 9] *Xmin is still negative. Yes! I told you in a previous mail that the unhinted coordinate of the leftmost pixel is NEGATIVE!

Re: [ft] diff Pixel height

2010-02-22 Thread samaram s
Thanks for the reply. So,You mean irrespective of what ever we do...the BBox is Always negative. In your previous reply you said, the only way to get the exact metrics is to render _all_ glyphs. Can you please give me some syntax how to load glyph to get exact metrics. Reason is,Output from my

[ft] for char size above 34,bitmap buffer is not correct!

2010-02-22 Thread samaram s
Hi, If i set my character size as 32 and load glyph like below, error = FT_Set_Char_Size( face,32*64,0,72,0 ); error = FT_Load_Char( face, 0x61, FT_LOAD_RENDER|FT_LOAD_MONOCHROME); I can able to get the correct bitmap glyph-data. Glyph Data:0f ffe0 3f fff8 7c 78 70 1c 60 1c 00 1c 00 3c

Re: [ft] Why it dont recognize FT_Init_FreeType?

2010-02-22 Thread mpsuzuki
On Tue, 23 Feb 2010 08:52:25 +0200 a...@freemail.gr wrote: Why it dont recognize FT_Init_FreeType? Need somthing? You didn't show the project file (or Makefile) for your console program, so only I can do is guessing: have you added any instructions to link libfreetype? Regards, mpsuzuki