Test 'altGlyph' facilities and many-to-many chars to glyphs.
Run the test. No interaction required.
This test requires some support for SVG fonts.
Three text strings show: the word "HAPPY" in pink, the word "SAD" in green and the word "SASSY" in blue.
The "HAPPY" and "SAD" strings test the 'altGlyph' facility and the ability to map multiple glyphs to a single character. All characters except the "D" are bracketed by 'altGlyph' elements to use two different glyphs to render each character. For "HAPPY", the horizontal stroke through the center of the characters is a smile stroke. For "SAD", the horizontal stroke through the center of the characters is a frown stroke.
The "SASSY" string tests a single glyph representing multiple characters (a ligature). The SVG font in the test case contains an "SS" ligature so that the "SS" in "SASSY" is rendered with a single glyph, where the two parts of the "SS" are connected.