Specification link: 10.14 Alternate glyphs

text-align-08-b ← index → text-altglyph-02-b

Tests that contain the draft-watermark are under development and may be incorrectly testing a feature.

# text-altglyph-01-b.svg
SVG Image | PNG Image

## Operator Script

Run the test. No interaction required.

This test requires some support for SVG fonts.

## Pass Criteria

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.

## Test Description

Test 'altGlyph' facilities and many-to-many chars to glyphs.

text-align-08-b ← index → text-altglyph-02-b