text-altglyph-02-b.svg

FAIL

raster image of altglyph-02-b.png raster image of altglyph-02-b.png
raster image of altglyph-02-b.png raster image of altglyph-02-b.png

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.