fonts-glyph-03-t-isvalid.html (3073B)
1 <!DOCTYPE html> 2 <html lang='en'> 3 <head> 4 <title>fonts-glyph-03-t-manual.svg</title> 5 <meta charset='utf-8'> 6 </head> 7 <body> 8 <h1>Source SVG: fonts-glyph-03-t-manual.svg</h1> 9 <svg version="1.1" baseProfile="tiny" id="svg-root" 10 width="100%" height="100%" viewBox="0 0 480 360" 11 xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> 12 <!--======================================================================--> 13 <!--= SVG 1.1 2nd Edition Test Case =--> 14 <!--======================================================================--> 15 <!--= Copyright 2009 World Wide Web Consortium, (Massachusetts =--> 16 <!--= Institute of Technology, European Research Consortium for =--> 17 <!--= Informatics and Mathematics (ERCIM), Keio University). =--> 18 <!--= All Rights Reserved. =--> 19 <!--= See http://www.w3.org/Consortium/Legal/. =--> 20 <!--======================================================================--> 21 22 <title id="test-title">$RCSfile: fonts-glyph-03-t.svg,v $</title> 23 <defs> 24 <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F"> 25 <font-face-src> 26 <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/> 27 </font-face-src> 28 </font-face> 29 </defs> 30 <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18"> 31 <defs> 32 <font horiz-adv-x="500"> 33 <font-face font-family="SVGFont" units-per-em="1000" ascent="800" descent="200" alphabetic="200"/> 34 <missing-glyph horiz-adv-x="500" d="M0 0L500 0L500 1000L0 1000M50 50L50 950L450 950L450 50Z"/> 35 <glyph unicode=" " glyph-name="space"/> 36 <glyph unicode="a" glyph-name="upward-triangle" lang="en" d="M0 0L500 0L250 900Z"/> 37 <glyph unicode="a" glyph-name="square" lang="fr" d="M0 250L500 250L500 750L0 750Z"/> 38 </font> 39 </defs> 40 <g font-family="SVGFont" font-size="50"> 41 <!-- Should produce an upward pointing triangle --> 42 <text x="50" y="50" xml:lang="en">a</text> 43 <!-- Should produce a square --> 44 <text x="50" y="120" xml:lang="fr">a</text> 45 <!-- Should also produce a square --> 46 <text x="50" y="190" xml:lang="fr-ca">a</text> 47 <!-- Should fall back to another font --> 48 <text x="50" y="260" xml:lang="de">a</text> 49 </g> 50 </g> 51 <g font-family="SVGFreeSansASCII,sans-serif" font-size="32"> 52 <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text> 53 </g> 54 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/> 55 <!-- comment out this watermark once the test is approved --> 56 <g id="draft-watermark"> 57 <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/> 58 <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240" 59 text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text> 60 </g> 61 </svg> 62 </body> 63 </html>