Re: [ft] display string

2010-02-02 Thread Werner LEMBERG
> When i am using *arial.ttf regular* file as input to convert the > given string. But i am not seeing them arranged in same line. How > to calculate baseline and how to show the images accordingly. The most basic example file, example1.c, demonstrates how to do it correctly. Werner ___

Re: [ft] ftgrays.c problem

2010-02-02 Thread Werner LEMBERG
> in function gray_render_cubic() > > level = 1; > da= da / ras.cubic_level; > db= db / ras.conic_level; > while ( da > 0 || db > 0 ) > { > da >>= 2; > db >>= 3; > level++; > } > > I think da should be divided by conic_level and db by cubic_level

Re: [ft] offset x offset y values?

2010-02-02 Thread Werner LEMBERG
> I would like to know about offset x, offset y, advance x and > advance y? Could any one please tell me where can i find more info > about those? Read the FreeType tutorials. Werner ___ Freetype mailing list Freetype@nongnu.org http://lists.nong

[ft] distance between characters

2010-02-02 Thread rsr
Hi, I would like to calculate the distance between one character to another char given a string,while converting to bitmap.How can i get the position of next character inorder to display with the same space as input string is? Could anyone please explain me,how to do this? Thanks rsr___

Re: [ft] distance between characters

2010-02-02 Thread Werner LEMBERG
> I would like to calculate the distance between one character to > another char given a string, while converting to bitmap. How can i > get the position of next character inorder to display with the same > space as input string is? You can't. FreeType expects characters as input and outputs gly