I found out I could do it like this:
(face->bbox.yMax - face->bbox.yMin) * face->size->metrics.y_ppem /
face->units_per_EM
Sorry to disturb the mailing list with a question I had not fully looked
into.
My question now is, How come some fonts seem to disobey the bounding box
and go outside of it. '{', '}', '[', ']' especially seem to go off the
bottom of it quite a bit.
For example, in agency FB, these characters go off the bottom: "gjpqy_|"
Thanks,
Phil
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
_______________________________________________
Freetype mailing list
Freetype@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype