Basic test of <mglyph> This test fonts that are likely to exist on the user's system, as well as fonts that won't exist. Also tests what occurs if the required 'alt' attribute is missing.
<math xmlns="http://www.w3.org/1998/Math/MathML"> <mn> <mglyph fontfamily="Arial" index="97" alt="lowercase 'a'"/> </mn> <mspace width="10px"/> <mi> <mglyph fontfamily="Arial" index="105"/> </mi> <mspace width="10px"/> <mn> <mglyph fontfamily="fake-font" index="105"/> </mn> <mspace width="10px"/> <mi> <mglyph index="97" alt="lowercase 'a'"/> </mi> </math>
Author: Dave Doyle, Design Science