prev  ( testsuite > ErrorHandling > BadAttribs > badAttribsGlyph4  )  next

Alternatives: (mml file)  (full) (simple) (plain) (form) (slideshow)
File:ErrorHandling/BadAttribs/badAttribsGlyph4
CVS-ID:
Author:Dave Doyle, Design Science
Description: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.

Sample Rendering:

Created by: webeq

Your browser's rendering:


Source Code:


    <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>