> 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
___
> 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
> 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
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___
> 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