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

text-altglyph-03-b.svg

FAIL

raster image of text-altglyph-03-b.svg

Operator Script

This test was copied from text-altglyph-02-b.svg revision 1.9, which had some subtests involving 'altGlyph' elements with no character data removed. All of the subtests that are common with text-altglyph-02-b.svg can be removed from this test.

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.