Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ImportedProjects
SVG
Commits
780b5150
Commit
780b5150
authored
Sep 23, 2014
by
Tebjan Halm
Browse files
Merge pull request #93 from erdomke/master
Initial Filter, Svg Font, and Text on a Path Support
parents
1bc4c0f3
4200d302
Changes
107
Show whitespace changes
Inline
Side-by-side
Tests/W3CTestSuite/svg/__issue-015-01.svg
0 → 100644
View file @
780b5150
<svg
xmlns:xlink=
"http://www.w3.org/1999/xlink"
xmlns=
"http://www.w3.org/2000/svg"
version=
"1.1"
width=
"600"
height=
"507"
>
<desc>
Created with Highcharts 3.0.2
</desc>
<defs>
<pattern
id=
"highcharts-pattern-3"
patternUnits=
"userSpaceOnUse"
width=
"25"
height=
"13"
>
<rect
x=
"0"
y=
"0"
width=
"25"
height=
"13"
fill=
"#ff6600"
/>
<image
preserveAspectRatio=
"none"
x=
"0"
y=
"0"
width=
"25"
height=
"13"
xlink:href=
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAANCAYAAABcrsXuAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAZdEVYdFNvZnR3YXJlAEFkb2JlIEltYWdlUmVhZHlxyWU8AAADJGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4zLWMwMTEgNjYuMTQ1NjYxLCAyMDEyLzAyLzA2LTE0OjU2OjI3ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2N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1uW9tOtq15oacwu699rRexNgG+TR2kMOm9mUT3J0rzuQI886jx1161iHN3ky7wZ4C4+1zZBnXevSJIbJLyqPQIBXtVxmAAAAAElFTkSuQmCC"
/>
</pattern>
</defs>
<rect
fill=
"url(#highcharts-pattern-3)"
x=
"140.5"
y=
"49.5"
width=
"259"
height=
"387"
stroke=
"#FFFFFF"
stroke-width=
"1"
rx=
"0"
ry=
"0"
/>
</svg>
\ No newline at end of file
Tests/W3CTestSuite/svg/__issue-34-02.svg
→
Tests/W3CTestSuite/svg/__issue-
0
34-02.svg
View file @
780b5150
File moved
Tests/W3CTestSuite/svg/__issue-036-01.svg
0 → 100644
View file @
780b5150
<svg
height=
"400"
width=
"346"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
><g
transform=
"translate(0,0)"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
width=
"346"
height=
"400"
xmlns=
"http://www.w3.org/2000/svg"
version=
"1.1"
><desc>
Created with Highcharts 3.0.1
</desc><defs><clipPath
id=
"highcharts-3"
><rect
fill=
"none"
x=
"0"
y=
"0"
width=
"301"
height=
"201"
/></clipPath></defs><rect
fill=
"rgb(255, 255, 255)"
stroke=
"#000"
stroke-width=
"1"
x=
"0.5"
y=
"0.5"
width=
"344"
height=
"398"
rx=
"15"
ry=
"15"
/><g
class=
"highcharts-grid"
/><g
class=
"highcharts-grid"
><path
opacity=
"1"
fill=
"none"
stroke=
"#000"
stroke-width=
"1"
d=
"M 184.5 40 L 184.5 341"
/><path
opacity=
"1"
fill=
"none"
stroke=
"#000"
stroke-width=
"1"
d=
"M 234.5 40 L 234.5 341"
/><path
opacity=
"1"
fill=
"none"
stroke=
"#000"
stroke-width=
"1"
d=
"M 285.5 40 L 285.5 341"
/><path
opacity=
"1"
fill=
"none"
stroke=
"#000"
stroke-width=
"1"
d=
"M 335.5 40 L 335.5 341"
/><path
opacity=
"1"
fill=
"none"
stroke=
"#000"
stroke-width=
"1"
d=
"M 134.5 40 L 134.5 341"
/></g><g
class=
"highcharts-axis"
><path
opacity=
"1"
fill=
"none"
stroke=
"#000"
stroke-width=
"1"
d=
"M 134 115.5 L 129 115.5"
/><path
opacity=
"1"
fill=
"none"
stroke=
"#000"
stroke-width=
"1"
d=
"M 134 153.5 L 129 153.5"
/><path
opacity=
"1"
fill=
"none"
stroke=
"#000"
stroke-width=
"1"
d=
"M 134 191.5 L 129 191.5"
/><path
opacity=
"1"
fill=
"none"
stroke=
"#000"
stroke-width=
"1"
d=
"M 134 228.5 L 129 228.5"
/><path
opacity=
"1"
fill=
"none"
stroke=
"#000"
stroke-width=
"1"
d=
"M 134 266.5 L 129 266.5"
/><path
opacity=
"1"
fill=
"none"
stroke=
"#000"
stroke-width=
"1"
d=
"M 134 303.5 L 129 303.5"
/><path
opacity=
"1"
fill=
"none"
stroke=
"#000"
stroke-width=
"1"
d=
"M 134 340.5 L 129 340.5"
/><path
opacity=
"1"
fill=
"none"
stroke=
"#000"
stroke-width=
"1"
d=
"M 134 78.5 L 129 78.5"
/><path
fill=
"none"
stroke=
"#000"
stroke-width=
"1"
d=
"M 134 40.5 L 129 40.5"
/><text
visibility=
"visible"
style=
"font-weight:bold;font-size:13px;font:bold 13px verdana, sans-serif; color: rgb(0, 0, 0); font-size-adjust: none; font-stretch: normal; fill: #000;"
text-anchor=
"middle"
transform=
"rotate(270 25.5 190.5)"
x=
"25.5"
y=
"190.5"
><tspan
x=
"25.5"
>
Destination
</tspan></text><path
visibility=
"visible"
fill=
"none"
stroke=
"#000"
stroke-width=
"1"
d=
"M 134.5 40 L 134.5 341"
/></g><g
class=
"highcharts-axis"
><text
visibility=
"visible"
style=
"font-weight:bold;font-size:13px;font:bold 13px verdana, sans-serif; color: rgb(0, 0, 0); font-size-adjust: none; font-stretch: normal; fill: #000;"
text-anchor=
"middle"
x=
"235"
y=
"381.1952"
><tspan
x=
"235"
>
Count
</tspan></text></g><g
class=
"highcharts-series-group"
><g
class=
"highcharts-series highcharts-tracker"
visibility=
"visible"
clip-path=
"url(#highcharts-3)"
transform=
"translate(336 341) rotate(90) scale(-1 1) scale(1)"
width=
"202"
height=
"301"
><rect
fill=
"#b19c67"
stroke=
"#000"
stroke-width=
"1"
x=
"273.5"
y=
"28.5"
width=
"18"
height=
"173"
rx=
"0"
ry=
"0"
/><rect
fill=
"#b19c67"
stroke=
"#000"
stroke-width=
"1"
x=
"235.5"
y=
"186.5"
width=
"18"
height=
"15"
rx=
"0"
ry=
"0"
/><rect
fill=
"#b19c67"
stroke=
"#000"
stroke-width=
"1"
x=
"197.5"
y=
"192.5"
width=
"18"
height=
"9"
rx=
"0"
ry=
"0"
/><rect
fill=
"#b19c67"
stroke=
"#000"
stroke-width=
"1"
x=
"160.5"
y=
"195.5"
width=
"18"
height=
"6"
rx=
"0"
ry=
"0"
/><rect
fill=
"#b19c67"
stroke=
"#000"
stroke-width=
"1"
x=
"122.5"
y=
"195.5"
width=
"18"
height=
"6"
rx=
"0"
ry=
"0"
/><rect
fill=
"#b19c67"
stroke=
"#000"
stroke-width=
"1"
x=
"85.5"
y=
"196.5"
width=
"18"
height=
"5"
rx=
"0"
ry=
"0"
/><rect
fill=
"#b19c67"
stroke=
"#000"
stroke-width=
"1"
x=
"47.5"
y=
"197.5"
width=
"18"
height=
"4"
rx=
"0"
ry=
"0"
/><rect
fill=
"#b19c67"
stroke=
"#000"
stroke-width=
"1"
x=
"9.5"
y=
"201.5"
width=
"18"
height=
"0"
rx=
"0"
ry=
"0"
/></g><g
class=
"highcharts-markers"
visibility=
"visible"
clip-path=
"none"
transform=
"translate(336 341) rotate(90) scale(-1 1) scale(1)"
width=
"202"
height=
"301"
/></g><text
class=
"highcharts-title"
style=
"font-weight:bold;font-size:16px;font:bold 16px lucida grande, lucida sans unicode, verdana, arial, helvetica, sans-serif; color: rgb(0, 0, 0); font-size-adjust: none; font-stretch: normal; fill: #000;"
text-anchor=
"middle"
x=
"173"
y=
"25"
><tspan
x=
"173"
>
Destination Summary
</tspan></text><g
class=
"highcharts-data-labels highcharts-tracker"
visibility=
"visible"
transform=
"translate(134 40) scale(1)"
><g
visibility=
"inherit"
style=
"cursor: default; align: left;"
transform=
"translate(174 9)"
><text
style=
"color: black; line-height: 14px; font-family: arial; font-size: 11px; fill: black;"
x=
"3"
y=
"15"
><tspan
x=
"3"
>
858
</tspan></text></g><g
visibility=
"inherit"
style=
"cursor: default; align: left;"
transform=
"translate(16 47)"
><text
style=
"color: black; line-height: 14px; font-family: arial; font-size: 11px; fill: black;"
x=
"3"
y=
"15"
><tspan
x=
"3"
>
77
</tspan></text></g><g
visibility=
"inherit"
style=
"cursor: default; align: left;"
transform=
"translate(10 85)"
><text
style=
"color: black; line-height: 14px; font-family: arial; font-size: 11px; fill: black;"
x=
"3"
y=
"15"
><tspan
x=
"3"
>
46
</tspan></text></g><g
visibility=
"inherit"
style=
"cursor: default; align: left;"
transform=
"translate(7 122)"
><text
style=
"color: black; line-height: 14px; font-family: arial; font-size: 11px; fill: black;"
x=
"3"
y=
"15"
><tspan
x=
"3"
>
33
</tspan></text></g><g
visibility=
"inherit"
style=
"cursor: default; align: left;"
transform=
"translate(7 160)"
><text
style=
"color: black; line-height: 14px; font-family: arial; font-size: 11px; fill: black;"
x=
"3"
y=
"15"
><tspan
x=
"3"
>
31
</tspan></text></g><g
visibility=
"inherit"
style=
"cursor: default; align: left;"
transform=
"translate(6 197)"
><text
style=
"color: black; line-height: 14px; font-family: arial; font-size: 11px; fill: black;"
x=
"3"
y=
"15"
><tspan
x=
"3"
>
29
</tspan></text></g><g
visibility=
"inherit"
style=
"cursor: default; align: left;"
transform=
"translate(5 235)"
><text
style=
"color: black; line-height: 14px; font-family: arial; font-size: 11px; fill: black;"
x=
"3"
y=
"15"
><tspan
x=
"3"
>
22
</tspan></text></g><g
visibility=
"inherit"
style=
"cursor: default; align: left;"
transform=
"translate(1 273)"
><text
style=
"color: black; line-height: 14px; font-family: arial; font-size: 11px; fill: black;"
x=
"3"
y=
"15"
><tspan
x=
"3"
>
1
</tspan></text></g></g><g
class=
"highcharts-axis-labels"
><text
style=
"color: rgb(0, 0, 0); line-height: 14px; font-family: arial; font-size: 11px; font-weight: bold; cursor: default; fill: #000;"
opacity=
"1"
text-anchor=
"end"
x=
"126"
y=
"65.0875"
><tspan
x=
"126"
>
Unknown
</tspan></text><text
style=
"color: rgb(0, 0, 0); line-height: 14px; font-family: arial; font-size: 11px; font-weight: bold; cursor: default; fill: #000;"
opacity=
"1"
text-anchor=
"end"
x=
"126"
y=
"102.7125"
><tspan
x=
"126"
>
Hospital 2
</tspan></text><text
style=
"color: rgb(0, 0, 0); line-height: 14px; font-family: arial; font-size: 11px; font-weight: bold; cursor: default; fill: #000;"
opacity=
"1"
text-anchor=
"end"
x=
"126"
y=
"140.3375"
><tspan
x=
"126"
>
Clinic A
</tspan></text><text
style=
"color: rgb(0, 0, 0); line-height: 14px; font-family: arial; font-size: 11px; font-weight: bold; cursor: default; fill: #000;"
opacity=
"1"
text-anchor=
"end"
x=
"126"
y=
"177.9625"
><tspan
x=
"126"
>
Abacus
</tspan></text><text
style=
"color: rgb(0, 0, 0); line-height: 14px; font-family: arial; font-size: 11px; font-weight: bold; cursor: default; fill: #000;"
opacity=
"1"
text-anchor=
"end"
x=
"126"
y=
"215.5875"
><tspan
x=
"126"
>
Hospital 3
</tspan></text><text
style=
"color: rgb(0, 0, 0); line-height: 14px; font-family: arial; font-size: 11px; font-weight: bold; cursor: default; fill: #000;"
opacity=
"1"
text-anchor=
"end"
x=
"126"
y=
"253.2125"
><tspan
x=
"126"
>
Hospital 1
</tspan></text><text
style=
"color: rgb(0, 0, 0); line-height: 14px; font-family: arial; font-size: 11px; font-weight: bold; cursor: default; fill: #000;"
opacity=
"1"
text-anchor=
"end"
x=
"126"
y=
"283.8375"
><tspan
x=
"126"
>
ABCD Regional
</tspan><tspan
x=
"126"
dy=
"14px"
>
Med Ctr
</tspan></text><text
style=
"color: rgb(0, 0, 0); line-height: 14px; font-family: arial; font-size: 11px; font-weight: bold; cursor: default; fill: #000;"
opacity=
"1"
text-anchor=
"end"
x=
"126"
y=
"328.4625"
><tspan
x=
"126"
>
Hospital 5
</tspan></text></g><g
class=
"highcharts-axis-labels"
><text
style=
"color: rgb(0, 0, 0); line-height: 14px; font-family: arial; font-size: 11px; font-weight: bold; cursor: default; fill: #000;"
opacity=
"1"
text-anchor=
"middle"
transform=
"rotate(-30 134 355)"
x=
"134"
y=
"355"
><tspan
x=
"134"
>
0
</tspan></text><text
style=
"color: rgb(0, 0, 0); line-height: 14px; font-family: arial; font-size: 11px; font-weight: bold; cursor: default; fill: #000;"
opacity=
"1"
text-anchor=
"middle"
transform=
"rotate(-30 336 355)"
x=
"336"
y=
"355"
><tspan
x=
"336"
>
1000
</tspan></text><text
style=
"color: rgb(0, 0, 0); line-height: 14px; font-family: arial; font-size: 11px; font-weight: bold; cursor: default; fill: #000;"
opacity=
"1"
text-anchor=
"middle"
transform=
"rotate(-30 184.5 355)"
x=
"184.5"
y=
"355"
><tspan
x=
"184.5"
>
250
</tspan></text><text
style=
"color: rgb(0, 0, 0); line-height: 14px; font-family: arial; font-size: 11px; font-weight: bold; cursor: default; fill: #000;"
opacity=
"1"
text-anchor=
"middle"
transform=
"rotate(-30 235 355)"
x=
"235"
y=
"355"
><tspan
x=
"235"
>
500
</tspan></text><text
style=
"color: rgb(0, 0, 0); line-height: 14px; font-family: arial; font-size: 11px; font-weight: bold; cursor: default; fill: #000;"
opacity=
"1"
text-anchor=
"middle"
transform=
"rotate(-30 285.5 355)"
x=
"285.5"
y=
"355"
><tspan
x=
"285.5"
>
750
</tspan></text></g></g></svg>
\ No newline at end of file
Tests/W3CTestSuite/svg/__issue-064-01.svg
0 → 100644
View file @
780b5150
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 17.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg
version=
"1.1"
id=
"Layer_1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
x=
"0px"
y=
"0px"
width=
"64px"
height=
"64px"
viewBox=
"0 0 64 64"
enable-background=
"new 0 0 64 64"
xml:space=
"preserve"
>
<symbol
id=
"Square_64_x2A_64"
viewBox=
"-32 -32 64 64"
>
<g
id=
"Document_3_"
>
<polygon
opacity=
"0"
fill=
"#ED1C24"
points=
"32,-32 -32,-32 -32,32 32,32 "
/>
</g>
</symbol>
<symbol
id=
"Truck"
viewBox=
"0 -64 64 64"
>
<use
xlink:href=
"#Square_64_x2A_64"
width=
"64"
height=
"64"
x=
"-32"
y=
"-32"
transform=
"matrix(1 0 0 1 32 -32)"
overflow=
"visible"
/>
<polygon
opacity=
"0.2"
points=
"59.3,-53.9 6,-53.9 7.2,-48.9 57.1,-48.9 "
/>
<polygon
fill=
"#474747"
points=
"54.2,-46.9 8.2,-46.9 8.2,-43.9 54.2,-43.9 "
/>
<path
fill=
"#A3A3A3"
d=
"M17.5-30.9v-13h-8v-2H5.2l0,2.6c0,2.1,4.9,11.4,6.6,12.4H17.5z"
/>
<path
fill=
"#6D6D6D"
d=
"M17.5-34.9v-13h-8v-2h-4v6.6c0,2.1,2.7,7.4,4.5,8.4H17.5z"
/>
<polygon
fill=
"#6D6D6D"
points=
"53.2,-48.9 8.2,-48.9 8.2,-46.9 53.2,-46.9 "
/>
<polygon
fill=
"#474747"
points=
"53.2,-48.9 22.3,-48.9 20.3,-46.8 53.2,-46.8 "
/>
<path
fill=
"#474747"
d=
"M14.8-48.9c0,1.9-1.6,3.5-3.5,3.5S7.8-47,7.8-48.9H14.8z"
/>
<path
fill=
"none"
stroke=
"#6D6D6D"
stroke-miterlimit=
"10"
d=
"M43.9-48.9c0,1.9-1.6,3.5-3.5,3.5s-3.5-1.6-3.5-3.5H43.9z"
/>
<path
fill=
"none"
stroke=
"#6D6D6D"
stroke-miterlimit=
"10"
d=
"M50.5-48.9c0,1.9-1.6,3.5-3.5,3.5s-3.5-1.6-3.5-3.5H50.5z"
/>
<path
fill=
"#E8E8E8"
stroke=
"#000000"
stroke-width=
"1.2142"
stroke-miterlimit=
"10"
d=
"M13.8-48.9c0,1.4-1.1,2.5-2.5,2.5
s-2.5-1.1-2.5-2.5c0-1.4,1.1-2.5,2.5-2.5S13.8-50.3,13.8-48.9z"
/>
<path
fill=
"#E8E8E8"
stroke=
"#000000"
stroke-width=
"1.2142"
stroke-miterlimit=
"10"
d=
"M42.9-48.9c0,1.4-1.1,2.5-2.5,2.5
c-1.4,0-2.5-1.1-2.5-2.5c0-1.4,1.1-2.5,2.5-2.5C41.8-51.4,42.9-50.3,42.9-48.9z"
/>
<path
fill=
"#E8E8E8"
stroke=
"#000000"
stroke-width=
"1.2142"
stroke-miterlimit=
"10"
d=
"M49.5-48.9c0,1.4-1.1,2.5-2.5,2.5
c-1.4,0-2.5-1.1-2.5-2.5c0-1.4,1.1-2.5,2.5-2.5C48.4-51.4,49.5-50.3,49.5-48.9z"
/>
<polygon
fill=
"#ACD860"
points=
"18.2,-23.9 54,-23.9 56.2,-26.9 18.2,-26.9 "
/>
<polygon
fill=
"#789B42"
points=
"18.2,-26.9 18.2,-44.9 56.2,-44.9 56.2,-26.9 "
/>
<polygon
fill=
"#C9F772"
points=
"56.2,-27.4 18.2,-27.4 18.2,-26.4 55.8,-26.4 56.2,-26.9 "
/>
<path
fill=
"#939393"
d=
"M10.5-48.9c0,0.4,0.4,0.8,0.8,0.8s0.8-0.4,0.8-0.8s-0.4-0.8-0.8-0.8S10.5-49.4,10.5-48.9z"
/>
<path
fill=
"#939393"
d=
"M39.6-48.9c0,0.4,0.4,0.8,0.8,0.8c0.4,0,0.8-0.4,0.8-0.8s-0.4-0.8-0.8-0.8C40-49.7,39.6-49.4,39.6-48.9z"
/>
<path
fill=
"#939393"
d=
"M46.2-48.9c0,0.4,0.4,0.8,0.8,0.8c0.4,0,0.8-0.4,0.8-0.8s-0.4-0.8-0.8-0.8C46.6-49.7,46.2-49.4,46.2-48.9z"
/>
<path
fill=
"#E8E8E8"
d=
"M10.2-35.9c-0.7,0-2.9-3-3.2-5c2.9,0,4.5,0,4.5,0v5H10.2z"
/>
<polygon
fill=
"#E8E8E8"
points=
"15.5,-40.9 12.5,-40.9 12.5,-35.9 15.5,-35.9 "
/>
<line
fill=
"none"
stroke=
"#474747"
stroke-width=
"2"
stroke-miterlimit=
"10"
x1=
"4.5"
y1=
"-48.9"
x2=
"8.5"
y2=
"-48.9"
/>
<polygon
fill=
"#474747"
points=
"4.2,-47.9 5.5,-44.8 5.5,-47.9 "
/>
</symbol>
<use
xlink:href=
"#Truck"
width=
"64"
height=
"64"
id=
"XMLID_30_"
y=
"-64"
transform=
"matrix(1 0 0 -1 0 6.510417e-04)"
overflow=
"visible"
/>
</svg>
\ No newline at end of file
Tests/W3CTestSuite/svg/__issue-064-02.svg
0 → 100644
View file @
780b5150
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 17.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg
version=
"1.1"
id=
"Layer_1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
x=
"0px"
y=
"0px"
width=
"64px"
height=
"64px"
viewBox=
"0 0 64 64"
enable-background=
"new 0 0 64 64"
xml:space=
"preserve"
>
<symbol
id=
"Person"
viewBox=
"0 -64 64 64"
>
<!--<use xlink:href="#Square_64_x2A_64" width="64" height="64" x="-32" y="-32" transform="matrix(1 0 0 1 32 -32)" overflow="visible"/>-->
<path
opacity=
"0.2"
d=
"M15.4-51c0,3.2,7.4,5.8,16.4,5.8s16.4-2.6,16.4-5.8c0-3.2-7.4-5.8-16.4-5.8S15.4-54.3,15.4-51z"
/>
<path
id=
"XMLID_35_"
fill=
"#3287A5"
d=
"M48.8-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"-32 -32 64 64"
>
<g
id=
"Document_3_"
>
<polygon
opacity=
"0"
fill=
"#ED1C24"
points=
"32,-32 -32,-32 -32,32 32,32 "
/>
</g>
</symbol>
<use
xlink:href=
"#Person"
width=
"64"
height=
"64"
y=
"-64"
transform=
"matrix(1 0 0 -1 0 6.510417e-04)"
overflow=
"visible"
/>
</svg>
\ No newline at end of file
Tests/W3CTestSuite/svg/__issue-83-01.svg
→
Tests/W3CTestSuite/svg/__issue-
0
83-01.svg
View file @
780b5150
File moved
Tests/W3CTestSuite/svg/text-path-02-b.svg
View file @
780b5150
...
...
@@ -63,26 +63,26 @@
<g
id=
"text-on-path-01"
>
<use
xlink:href=
"#Path1"
fill=
"none"
stroke=
"blue"
/>
<text
font-size=
"36"
fill=
"black"
>
<textPath
xlink:href=
"#Path1"
><tspan
dx=
"-240"
>
Positive offset
Negative offset
</tspan></textPath>
<textPath
xlink:href=
"#Path1"
><tspan
dx=
"-240"
>
Negative offset
</tspan></textPath>
</text>
</g>
<g
id=
"text-on-path-02"
>
<use
xlink:href=
"#Path2"
fill=
"none"
stroke=
"blue"
/>
<text
font-size=
"36"
fill=
"black"
>
<textPath
xlink:href=
"#Path2"
startOffset=
"-240"
>
Positive offset
Negative offset
</textPath>
<textPath
xlink:href=
"#Path2"
startOffset=
"-240"
>
Negative offset
</textPath>
</text>
</g>
<g
transform=
"translate(0 150)"
>
<g
id=
"text-on-path-03"
>
<use
xlink:href=
"#Path1"
fill=
"none"
stroke=
"blue"
/>
<text
font-size=
"36"
fill=
"black"
>
<textPath
xlink:href=
"#Path1"
><tspan
dx=
"60"
>
Positive
offset Negative
offset
</tspan></textPath>
<textPath
xlink:href=
"#Path1"
><tspan
dx=
"60"
>
Positive offset
</tspan></textPath>
</text>
</g>
<g
id=
"text-on-path-04"
>
<use
xlink:href=
"#Path2"
fill=
"none"
stroke=
"blue"
/>
<text
font-size=
"36"
fill=
"black"
>
<textPath
xlink:href=
"#Path2"
startOffset=
"60"
>
Positive
offset Negative
offset
</textPath>
<textPath
xlink:href=
"#Path2"
startOffset=
"60"
>
Positive offset
</textPath>
</text>
</g>
</g>
...
...
Prev
1
2
3
4
5
6
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment