text-path-02-b-isvalid.html (3587B)
1 <!DOCTYPE html> 2 <html lang='en'> 3 <head> 4 <title>text-path-02-b-manual.svg</title> 5 <meta charset='utf-8'> 6 </head> 7 <body> 8 <h1>Source SVG: text-path-02-b-manual.svg</h1> 9 <svg id="svg-root" width="100%" height="100%" 10 viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg" 11 xmlns:xlink="http://www.w3.org/1999/xlink"> 12 <!--======================================================================--> 13 <!--= Copyright 2008 World Wide Web Consortium, (Massachusetts =--> 14 <!--= Institute of Technology, European Research Consortium for =--> 15 <!--= Informatics and Mathematics (ERCIM), Keio University). =--> 16 <!--= All Rights Reserved. =--> 17 <!--= See http://www.w3.org/Consortium/Legal/. =--> 18 <!--======================================================================--> 19 20 <title id="test-title">$RCSfile: text-path-02-b.svg,v $</title> 21 <defs> 22 <font-face 23 font-family="SVGFreeSansASCII" 24 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, FreeSansWoff, sans-serif" font-size="18"> 31 <defs> 32 <style> 33 @font-face { 34 font-family: FreeSansWoff; 35 src: url(woffs/FreeSans.woff) format("woff"); 36 } 37 </style> 38 <path id="Path1" fill="none" stroke="blue" d="M199 89.3 C206.6 66.6 235.8 13.2 270 30.3 286.6 38.6 298.9 59.4 310 73.3 321.7 87.9 338.6 99 356 103.3 387.3 111.1 396.6 90.4 418 74.3"/> 39 <path id="Path2" fill="none" stroke="blue" d="M33.5 145.8 C41 123 70.3 69.7 104.5 86.8 121 95 133 116 144.5 129.8 156.2 144.4 173 155.5 190.5 159.8 221.8 167.6 231 146.9 252.5 130.8"/> 40 </defs> 41 <g id="text-on-path-01"> 42 <use xlink:href="#Path1" fill="none" stroke="blue" /> 43 <text font-size="36" fill="black" > 44 <textPath xlink:href="#Path1"><tspan dx="-240">Positive offset Negative offset</tspan></textPath> 45 </text> 46 </g> 47 <g id="text-on-path-02"> 48 <use xlink:href="#Path2" fill="none" stroke="blue" /> 49 <text font-size="36" fill="black" > 50 <textPath xlink:href="#Path2" startOffset="-240">Positive offset Negative offset</textPath> 51 </text> 52 </g> 53 <g transform="translate(0 150)"> 54 <g id="text-on-path-03"> 55 <use xlink:href="#Path1" fill="none" stroke="blue" /> 56 <text font-size="36" fill="black" > 57 <textPath xlink:href="#Path1"><tspan dx="60">Positive offset Negative offset</tspan></textPath> 58 </text> 59 </g> 60 <g id="text-on-path-04"> 61 <use xlink:href="#Path2" fill="none" stroke="blue" /> 62 <text font-size="36" fill="black" > 63 <textPath xlink:href="#Path2" startOffset="60">Positive offset Negative offset</textPath> 64 </text> 65 </g> 66 </g> 67 </g> 68 <g font-family="SVGFreeSansASCII,sans-serif" font-size="32"> 69 <text id="revision" x="10" y="340" stroke="none" 70 fill="black">$Revision: 1.7 $</text> 71 </g> 72 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/> 73 <!-- comment out this watermark once the test is approved --> 74 <!--<g id="draft-watermark"> 75 <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/> 76 <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240" 77 text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text> 78 </g>--> 79 </svg> 80 </body> 81 </html>