On 01/19/2015 06:41 AM, Diederick Huijbers wrote:
Hi,

I'm using Freetype + Harfbuzz to create a text input field for an
OpenGL application and I'm trying to figure out what metrics I should
use to calculate the height of the rectangle you see when you select
text in a text input field.

I'm not sure if this helps, but this application looks at all the points in each character in a string and records the maximum and minimum values. Looking at the source (ttt.c) might shed some light on your problem.
http://timeguy.com/cradek/01276453959


--
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/

_______________________________________________
Freetype mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to