Debian Codegraph @

test_non_regression/fail/text/textdecoration01.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="12cm" height="4cm" viewBox="0 0 1200 400"
5 xmlns="http://www.w3.org/2000/svg" version="1.1">
6 <desc>Example textdecoration01 - behavior of 'text-decoration' property</desc>
7 <rect x="1" y="1" width="1198" height="398" fill="none" stroke="blue" stroke-width="2" />
8 <g font-size="60" fill="blue" stroke="red" stroke-width="1" >
9 <text x="100" y="75">Normal text</text>
10 <text x="100" y="165" text-decoration="line-through" >Text with line-through</text>
11 <text x="100" y="255" text-decoration="underline" >Underlined text</text>
12 <text x="100" y="345" text-decoration="underline" >
13 <tspan>One </tspan>
14 <tspan fill="yellow" stroke="purple" >word </tspan>
15 <tspan fill="yellow" stroke="black" >has </tspan>
16 <tspan fill="yellow" stroke="darkgreen" text-decoration="underline" >different </tspan>
17 <tspan fill="yellow" stroke="blue" >underlining</tspan>
18 </text>
19 </g>
20 </svg>
21
22