Debian Codegraph @

test_non_regression/svg/tspan03.svg

raw
1 <?xml version="1.0" standalone="no"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
3 "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4 <svg width="10cm" height="3cm" viewBox="0 0 1000 300"
5 xmlns="http://www.w3.org/2000/svg" version="1.1">
6 <desc>Example tspan03 - using tspan's x and y attributes
7 for multiline text and precise glyph positioning</desc>
8
9 <g font-family="Liberation Sans" font-size="45" >
10 <text fill="rgb(255,164,0)" >
11 <tspan x="300 350 400 450 500 550 600 650" y="100">
12 Cute and
13 </tspan>
14 <tspan x="375 425 475 525 575" y="200">
15 fuzzy
16 </tspan>
17 </text>
18 </g>
19
20 <!-- Show outline of canvas using 'rect' element -->
21 <rect x="1" y="1" width="998" height="298"
22 fill="none" stroke="blue" stroke-width="2" />
23 </svg>
24