Note:
You can use opentype.js to parse a font to get values in the font's OS/2 table. For ascent, descent and cap height, use the sTypoAscender, sTypoDescender and sCapHeight fields.
You can use opentype.js to parse a font to get values in the font's OS/2 table. For ascent, descent and cap height, use the sTypoAscender, sTypoDescender and sCapHeight fields.