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

fonts-elem-02-t.svg

raster image of fonts-elem-02-t.svg

Operator Script

Run the test. No interaction required.

Pass Criteria

The test is passed iff the black text exactly overlays the white text on black, giving a solid black area. Some slight antialiasing effects may remain and do not cause the test to fail.

Test Description

This is an accuracy test for embedded SVG fonts. The font "Comic Sans" (available from Microsoft) has been converted into an SVG font and embedded in the SVG file. The test contains two text areas, each with the character string "AyÖ@ç" drawn at the same font size.

The upper area has the placed glyphs as path elements filled with white over a solid black background (creating a white cutout). The embedded SVG font text is then drawn over the cutout.

The lower area is the reverse of the upper area, with the placed black glyphs filling the cutout created by white SVG font text. An implementation that passes this test should completely fill the cutout, leaving a solid black area (some slight antialiasing effects may remain).