Specification link: 10.14 Alternate glyphs

text-altglyph-01-b ← index → text-altglyph-03-b

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

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

## Operator Script

Run the test. No interaction required.

Support for SVG Fonts is required for this test, and the last two text strings are used to give a quick visual indication this is indeed supported.

The test shows 24 different text strings with different combinations of altGlyphItem element count and validity inside the altGlyphDef elements, and number of characters in the altGlyph elements. The glyphs are from a sans serif font, except those selected by altGlyph, which are from a boldface serif font. The text in the "Actual" columns should appear as shown in the corresponding "Expected" column text.

## Pass Criteria

The test passes if each pair of (actual,expected) text strings render identically.

## Test Description

Test glyph selection using altGlyphDef and altGlyphItem elements.

text-altglyph-01-b ← index → text-altglyph-03-b