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.
Copyright © 2021 Jogjafile Inc.
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.