Full version, Basic version

Specification link: 20.3 The 'font' element

fonts-elem-03-b ← index → fonts-elem-07-b

# fonts-elem-04-b
SVG Image | PNG Image

This is a basic test for external SVG fonts. The font "Comic Sans" (available from Microsoft) has been converted into an SVG font and placed in an external SVG file referenced by a font-face-src element. The test contains two text areas, each with the character string "AyÖ@ç" drawn at the same font size.

The upper area contains the glyphs from the font placed in the SVG file as path elements. Each glyph is placed at the location it would be if rendered using normal text rendering (ie. the horizontal advance between characters has been preserved).

The lower area contains the text string rendered using the external SVG font. It should appear exactly the same as the upper text area, ie. font size, character baseline and horizontal advance should be the same.

fonts-elem-03-b ← index → fonts-elem-07-b

Distributed under both the W3C Test Suite License and the W3C 3-clause BSD License.
To contribute to a W3C Test Suite, see the policies and contribution forms.