text-fonts-204-t-isvalid.html (4307B)
1 <!DOCTYPE html> 2 <html lang='en'> 3 <head> 4 <title>text-fonts-204-t-manual.svg</title> 5 <meta charset='utf-8'> 6 </head> 7 <body> 8 <h1>Source SVG: text-fonts-204-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: text-fonts-204-t.svg,v $</title> 23 <defs> 24 <font-face 25 font-family="SVGFreeSansASCII" 26 unicode-range="U+0-7F"> 27 <font-face-src> 28 <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/> 29 </font-face-src> 30 </font-face> 31 </defs> 32 <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18"> 33 <defs> 34 <style> 35 @font-face { 36 font-family: ZC; 37 unicode-range: U+0-7F; 38 font-variant: small-caps; 39 font-weight: 300; 40 src: url(woffs/ZCL.woff) format("woff") 41 } 42 @font-face { 43 font-family: ZC; 44 unicode-range: U+0-7F; 45 font-variant: small-caps; 46 font-weight: 400; 47 src: url(woffs/ZCR.woff) format("woff") 48 } 49 @font-face { 50 font-family: ZC; 51 unicode-range: U+0-7F; 52 font-variant: small-caps; 53 font-weight: 600; 54 src: url(woffs/ZCSB.woff) format("woff") 55 } 56 @font-face { 57 font-family: ZC; 58 unicode-range: U+0-7F; 59 font-variant: small-caps; 60 font-weight: 700; 61 src: url(woffs/ZCB.woff) format("woff") 62 } 63 @font-face { 64 font-family: ZC; 65 unicode-range: U+0-7F; 66 font-variant: small-caps; 67 font-weight: 800; 68 src: url(woffs/ZCXB.woff) format("woff") 69 } 70 </style> 71 </defs> 72 73 <g font-family="'ZC', serif" font-size="30" font-variant="small-caps"> 74 <text font-weight="100" x="360" y="50">100</text> 75 <text font-weight="200" x="360" y="85">200</text> 76 <text font-weight="300" x="360" y="120">300</text> 77 <text font-weight="400" x="360" y="155">400</text> 78 <text font-weight="500" x="360" y="190">500</text> 79 <text fill="green" font-weight="600" x="360" y="225">600</text> 80 <text fill="green" font-weight="700" x="360" y="260">700</text> 81 <text fill="green" font-weight="800" x="360" y="295">800</text> 82 <text fill="green" font-weight="900" x="360" y="330">900</text> 83 <text font-weight="bold" x="60" y="80">This is bold</text> 84 <text font-weight="normal" x="60" y="130">This is normal</text> 85 <g font-weight="normal" fill="blue"> 86 <text font-weight="bolder" x="60" y="180">Blue is bolder</text> 87 </g> 88 <g font-weight="bold" fill="blue"> 89 <text font-weight="lighter" x="60" y="230">Blue is lighter</text> 90 </g> 91 <g font-size="14"> 92 <text x="30" y="270">ZalamanderCaps is an OpenType font</text> 93 <text x="30" y="290">by Tim Ahrens of Just Another Foundry</text> 94 </g> 95 </g> 96 97 </g> 98 <g font-family="SVGFreeSansASCII,sans-serif" font-size="32"> 99 <text id="revision" x="10" y="340" stroke="none" 100 fill="black">$Revision: 1.1 $</text> 101 </g> 102 <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/> 103 <!-- comment out this watermark once the test is approved --> 104 <g id="draft-watermark"> 105 <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/> 106 <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240" 107 text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text> 108 </g> 109 </svg> 110 </body> 111 </html>