Browsers display an additional spacing around the text elements. Refer to this question to see it in action.
How much spacing it is added, is determined by HHead Ascent
and Descent
values as stated here
I am trying to update a font to be displayed without upper and bottom spacing, therefore I fixed this values to be the same as Ascender
and Descender
. I am using Font Forge.
Before:
After:
I than use this font in a browser, but to my surprise, the top and bottom spacing is till there. What am I missing here?