Font Box Size
Hi there
How are you doing?
I have one doubt, and maybe you can help or not.
I working in a project that I have to build a layout equivalent an web page.
The main system send me all information on a XML file with measurements, colors, fonts, etc.
The Y vertices of character is based for the top of the font, but I'm receiving top of the black box of the font as in the image below.

It shouldn't to be a problem if I calculate the size of the box and discount it.
But, there are variations between some fonts with the same size and same leading as the image below.

I would like to know if there is a way to get the black box sizes, or if I can find an formula/equation to discover the black box size of an character.
Thanks again!
