RE: Important information about the MathML fonts in Gecko 41

Frédéric noted that the STIX font doesn't support the OS/2 USE_TYPO_METRICS flag. 

For math fonts, a workaround is to check if there's a MATH table and use the typo metrics if so. Another work around is to compare the type ascent/descent to the TEXTMETRIC ascent/descent and assume a high font is involved if the latter is significantly bigger (1.5 × or more). Here's a post (http://blogs.msdn.com/b/murrays/archive/2009/12/01/high-fonts-and-math-fonts.aspx#10023606) on high fonts which explains a little more.

Murray

Received on Wednesday, 23 September 2015 20:58:57 UTC