freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ft] height of the glyph


From: samaram s
Subject: [ft] height of the glyph
Date: Tue, 23 Feb 2010 12:13:43 -0500

Is Width and height of the glyph is correct if i do the following??Is it the right way of getting the exact width and height? or is there any other way or API in freetype to get these values?

How does it work for a Space char in a string?? can we move it by advance X width??? Does it okay to do so?

printf ("Width: %d\n", (int)(bbox.xMax - bbox.xMin));

printf ("Height: %d\n", (int)(bbox.yMax - bbox.yMin));


Please correct me..

Thanks,
Sam

reply via email to

[Prev in Thread] Current Thread [Next in Thread]