librsvg source for verification 2026-05-22
BIN
rsvg/tests/fixtures/reftests/bugs/a-inside-text-content-738-ref.png
vendored
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
24
rsvg/tests/fixtures/reftests/bugs/a-inside-text-content-738.svg
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
<svg
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
version="1.1"
|
||||
viewBox="0 0 500 600"
|
||||
font-family="sans-serif"
|
||||
font-size="18">
|
||||
<defs>
|
||||
<style>
|
||||
a {fill: black; font-family: Helvetica; font-size:10; }
|
||||
text { font-family: Helvetica; font-size:10; }
|
||||
</style>
|
||||
</defs>
|
||||
|
||||
<text x="250" y="25" class="head" text-anchor="middle">SVG CSS Tests</text>
|
||||
<g transform="translate(0,50)">
|
||||
<text x="50">a:link</text>
|
||||
<text x="250" class="test"><a xlink:href="#foo">xlink:href</a></text>
|
||||
</g>
|
||||
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 725 B |
BIN
rsvg/tests/fixtures/reftests/bugs/a-inside-text-content-pseudo-class-738-ref.png
vendored
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
26
rsvg/tests/fixtures/reftests/bugs/a-inside-text-content-pseudo-class-738.svg
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
<svg
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
version="1.1"
|
||||
viewBox="0 0 500 600"
|
||||
font-family="sans-serif"
|
||||
font-size="18">
|
||||
<defs>
|
||||
<style>
|
||||
a { fill: white; font-family: Helvetica; font-size:10; }
|
||||
a:link { fill: black; }
|
||||
|
||||
text { fill: black; font-family: Helvetica; font-size:10; }
|
||||
</style>
|
||||
</defs>
|
||||
|
||||
<text x="250" y="25" class="head" text-anchor="middle">SVG CSS Tests</text>
|
||||
<g transform="translate(0,50)">
|
||||
<text x="50">a:link</text>
|
||||
<text x="250" class="test"><a xlink:href="#foo">xlink:href</a></text>
|
||||
</g>
|
||||
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 776 B |
BIN
rsvg/tests/fixtures/reftests/bugs/bug108-font-size-relative-ref.png
vendored
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
64
rsvg/tests/fixtures/reftests/bugs/bug108-font-size-relative.svg
vendored
Normal file
@@ -0,0 +1,64 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100">
|
||||
|
||||
|
||||
<title>Voronoi. Simple poor</title>
|
||||
|
||||
|
||||
<style type="text/css">
|
||||
<![CDATA[
|
||||
|
||||
.line {
|
||||
stroke : black;
|
||||
stroke-width : 1;
|
||||
stroke-linecap : butt;
|
||||
}
|
||||
|
||||
.circle {
|
||||
stroke : none;
|
||||
stroke-width : 0;
|
||||
fill : black;
|
||||
}
|
||||
|
||||
text {
|
||||
font-family: sans;
|
||||
}
|
||||
|
||||
.text {
|
||||
stroke-width : 0;
|
||||
stroke : none;
|
||||
fill : black;
|
||||
font-size : 15px;
|
||||
font-style : italic;
|
||||
}
|
||||
|
||||
.rect {
|
||||
stroke : none;
|
||||
stroke-width : 0;
|
||||
}
|
||||
|
||||
]]>
|
||||
</style>
|
||||
|
||||
|
||||
<rect class="rect" x="0" y="0" width="50" height="100" fill="LightBlue"/>
|
||||
<rect class="rect" x="50" y="0" width="50" height="100" fill="LightGreen"/><!-- AntiqueWhite LightCyan -->
|
||||
<line class="line" x1="25" y1="70" x2="75" y2="70"/>
|
||||
<line class="line" x1="50" y1="10" x2="50" y2="90"/>
|
||||
<path fill="none" stroke="black" d="M 50,65 l 5,0 l 0,5"/>
|
||||
<circle class="circle" cx="25" cy="70" r="2"/>
|
||||
<circle class="circle" cx="75" cy="70" r="2"/>
|
||||
<text class="text" x="14" y="70">p</text>
|
||||
<text class="text" x="80" y="70">q</text>
|
||||
<text class="text" x="5" y="20">H<tspan dy="0.2em" style="font-size : smaller">pq</tspan></text>
|
||||
<text class="text" x="75" y="20">H<tspan dy="0.2em" style="font-size : smaller">qp</tspan></text>
|
||||
|
||||
|
||||
<!--
|
||||
Creation timestamp (ISO 8601) 2015-02-06T05:39:42+00:00.
|
||||
|
||||
2015-02-06
|
||||
first release
|
||||
|
||||
-->
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
BIN
rsvg/tests/fixtures/reftests/bugs/bug112-svg-delayed-attributes-ref.png
vendored
Normal file
|
After Width: | Height: | Size: 99 B |
6
rsvg/tests/fixtures/reftests/bugs/bug112-svg-delayed-attributes.svg
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="red" width="16" height="16">
|
||||
<svg fill="lime">
|
||||
<rect width="16" height="16"/>
|
||||
</svg>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 185 B |
BIN
rsvg/tests/fixtures/reftests/bugs/bug1128-elliptical-arcs-big-radius-ref.png
vendored
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
8
rsvg/tests/fixtures/reftests/bugs/bug1128-elliptical-arcs-big-radius.svg
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg height="100" width="100" version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4086 4096">
|
||||
<rect width="100%" height="100%" fill="white"/>
|
||||
<path fill="black"
|
||||
d="m 958.405,2126.139 -114.796,428.424 a 93.502,93.502 0 0 1 -114.517,66.116 93.413,93.413 0 0 1 -65.944,-114.47 L 771.9,2100.343 a 93.502,93.502 0 0 0 -66.117,-114.517 93.413,93.413 0 0 0 -114.344,66.162 l -12.043,44.944 a 93.502,93.502 0 0 1 -114.516,66.117 93.413,93.413 0 0 1 -65.945,-114.471 l 108.751,-405.865 a 93.502,93.502 0 0 0 -66.115,-114.517 93.413,93.413 0 0 0 -114.345,66.162 l -219.277,818.351 a 93.502,93.502 0 0 1 -114.516,66.117 93.413,93.413 0 0 1 -65.944,-114.47 l 62.124,-231.852 a 93.502,93.502 0 0 0 -66.115,-114.518 93.413,93.413 0 0 0 -114.345,66.162 l -49.054,183.075 a 93.502,93.502 0 0 1 -114.518,66.116 93.413,93.413 0 0 0 -114.344,66.162 l -519.016,1936.997 a 93.502,93.502 0 0 0 66.115,114.517 93.413,93.413 0 0 1 65.944,114.47 93.413,93.413 0 0 0 66.163,114.345 93.413,93.413 0 0 1 65.944,114.47 93.413,93.413 0 0 0 66.162,114.345 93.413,93.413 0 0 0 114.345,-66.163 93.413,93.413 0 0 1 114.47,-65.944 l 180.462,48.354 A 147.671,147.671 0 0 0 46.63,4807.085 93.413,93.413 0 0 1 161.101,4741.14 l 180.461,48.355 a 147.67115,147.67115 0 0 1 246.405,162.824 l -96.662,360.75 a 93.502,93.502 0 0 0 66.116,114.516 l 180.46,48.354 180.461,48.355 180.46,48.355 a 113273140,113273140 0 0 0 360.923,96.709 178671150,178671150 0 0 1 180.46,48.353 147.672,147.672 0 0 0 294.806,-17.807 l 48.308,-180.29 a 93.502,93.502 0 0 1 114.517,-66.115 l 180.46,48.353 180.461,48.356 180.462,48.353 180.46,48.355 a 122034640,122034640 0 0 0 360.922,96.709 94697865,94697865 0 0 1 180.46,48.353 93.413,93.413 0 0 0 114.346,-66.16 l 48.308,-180.29 a 93.502,93.502 0 0 1 114.516,-66.116 93.413,93.413 0 0 0 114.345,-66.162 l 773.623,-2887.202 a 93.502,93.502 0 0 0 -66.116,-114.516 93.413,93.413 0 0 0 -114.345,66.162 l -280.151,1045.54 a 93.502,93.502 0 0 1 -114.517,66.116 93.413,93.413 0 0 1 -65.944,-114.47 l 38.38,-143.237 a 93.502,93.502 0 0 0 -66.117,-114.515 93.413,93.413 0 0 0 -114.344,66.16 l -38.398,143.309 a 93.502,93.502 0 0 1 -114.517,66.115 93.413,93.413 0 0 1 -65.945,-114.47 l 21.322,-79.577 a 93.502,93.502 0 0 0 -66.115,-114.517 93.413,93.413 0 0 0 -114.345,66.161 l -97.404,363.515 a 93.502,93.502 0 0 1 -114.516,66.117 97.386,97.386 0 0 1 -69.724,-115.4 l 14.85,-66.355 a 97.478,97.478 0 0 0 -69.897,-115.446 91.843,91.843 0 0 0 -112.81,66.56 l -106.415,425.906 a 91.93,91.93 0 0 1 -112.981,66.513 93.413,93.413 0 0 1 -65.946,-114.471 l 185.06,-690.646 a 93.502,93.502 0 0 0 -66.117,-114.517 93.413,93.413 0 0 0 -114.345,66.163 l -150.81,562.833 a 93.502,93.502 0 0 1 -114.517,66.116 93.413,93.413 0 0 1 -65.944,-114.472 l 75.624,-282.232 a 93.502,93.502 0 0 0 -66.117,-114.515 93.413,93.413 0 0 0 -114.344,66.162 l -8.147,30.404 a 93.502,93.502 0 0 1 -114.516,66.115 93.413,93.413 0 0 1 -65.944,-114.47 l 49.531,-184.854 a 93.502,93.502 0 0 0 -66.116,-114.517 93.413,93.413 0 0 0 -114.345,66.163 l -107.11,399.741 a 93.502,93.502 0 0 1 -114.517,66.116 93.413,93.413 0 0 1 -65.945,-114.47 l 57.594,-214.94 a 93.502,93.502 0 0 0 -66.117,-114.517 93.413,93.413 0 0 0 -114.343,66.162 l -14.24,53.14 a 93.502,93.502 0 0 1 -114.517,66.116 93.413,93.413 0 0 1 -65.944,-114.47 l 131.907,-492.281 a 93.502,93.502 0 0 0 -66.117,-114.517 93.413,93.413 0 0 0 -114.344,66.162 l -144.834,540.526 a 93.502,93.502 0 0 1 -114.516,66.116 93.413,93.413 0 0 1 -65.944,-114.47 l 238.715,-890.9 a 93.502,93.502 0 0 0 -66.115,-114.517 93.413,93.413 0 0 0 -114.345,66.163 z"/>
|
||||
<path fill="black"
|
||||
d="m3278.874 1971.84 114.796-428.421a93.502 93.502 0 0 1 114.516-66.117 93.413 93.413 0 0 1 65.944 114.47l-108.75 405.866a93.502 93.502 0 0 0 66.116 114.516 93.413 93.413 0 0 0 114.345-66.162l12.043-44.944a93.502 93.502 0 0 1 114.516-66.115 93.413 93.413 0 0 1 65.944 114.47l-108.75 405.865a93.502 93.502 0 0 0 66.115 114.516 93.413 93.413 0 0 0 114.345-66.162l219.277-818.35a93.502 93.502 0 0 1 114.516-66.116 93.413 93.413 0 0 1 65.944 114.47l-62.124 231.853a93.502 93.502 0 0 0 66.115 114.517 93.413 93.413 0 0 0 114.345-66.163l49.055-183.075a93.502 93.502 0 0 1 114.517-66.116 93.413 93.413 0 0 0 114.345-66.162L5225.06-238.517a93.502 93.502 0 0 0-66.117-114.516A93.413 93.413 0 0 1 5093-467.503a93.413 93.413 0 0 0-66.163-114.345 93.413 93.413 0 0 1-65.944-114.47 93.413 93.413 0 0 0-66.162-114.345 93.413 93.413 0 0 0-114.345 66.162 93.413 93.413 0 0 1-114.47 65.944l-180.46-48.353a147.671 147.671 0 0 0-294.807 17.807 93.413 93.413 0 0 1-114.47 65.944 113273130 113273130 0 0 0-180.461-48.353 103155850 103155850 0 0 1-180.461-48.356 93.413 93.413 0 0 1-65.944-114.47l96.663-360.75a93.502 93.502 0 0 0-66.117-114.516l-180.46-48.354-180.461-48.354-180.46-48.356-180.462-48.353-180.46-48.355a171559980 171559980 0 0 1-360.923-96.709 93.413 93.413 0 0 0-114.344 66.162l-48.308 180.29a93.502 93.502 0 0 1-114.517 66.115l-180.46-48.353-180.461-48.355-180.46-48.353-180.462-48.356a154733790 154733790 0 0 0-360.922-96.709 105032070 105032070 0 0 1-180.46-48.353 93.413 93.413 0 0 0-114.345 66.16l-48.308 180.29a93.502 93.502 0 0 1-114.517 66.116 93.413 93.413 0 0 0-114.345 66.163L-288.9 1571.933a93.502 93.502 0 0 0 66.116 114.517 93.413 93.413 0 0 0 114.345-66.163L171.712 574.75a93.502 93.502 0 0 1 114.517-66.117 93.413 93.413 0 0 1 65.944 114.47l-38.38 143.236a93.502 93.502 0 0 0 66.117 114.517 93.413 93.413 0 0 0 114.345-66.163l38.398-143.307a93.502 93.502 0 0 1 114.517-66.116 93.413 93.413 0 0 1 65.944 114.471l-21.323 79.577a93.502 93.502 0 0 0 66.116 114.516 93.413 93.413 0 0 0 114.345-66.162l97.403-363.515a93.502 93.502 0 0 1 114.517-66.115 97.386 97.386 0 0 1 69.725 115.399l-14.85 66.354a97.478 97.478 0 0 0 69.896 115.446 91.843 91.843 0 0 0 112.81-66.56l106.415-425.905a91.93 91.93 0 0 1 112.982-66.514 93.413 93.413 0 0 1 65.944 114.471l-185.058 690.646a93.502 93.502 0 0 0 66.116 114.517 93.413 93.413 0 0 0 114.345-66.162l150.81-562.832a93.502 93.502 0 0 1 114.517-66.117 93.413 93.413 0 0 1 65.945 114.47l-75.624 282.233a93.502 93.502 0 0 0 66.116 114.517 93.413 93.413 0 0 0 114.345-66.163l8.146-30.405a93.502 93.502 0 0 1 114.517-66.115 93.413 93.413 0 0 1 65.944 114.47l-49.532 184.854a93.502 93.502 0 0 0 66.116 114.517 93.413 93.413 0 0 0 114.345-66.161l107.11-399.743a93.502 93.502 0 0 1 114.517-66.116 93.413 93.413 0 0 1 65.944 114.47l-57.593 214.941a93.502 93.502 0 0 0 66.116 114.517 93.413 93.413 0 0 0 114.345-66.163l14.239-53.14a93.502 93.502 0 0 1 114.516-66.116 93.413 93.413 0 0 1 65.944 114.471l-131.905 492.28a93.502 93.502 0 0 0 66.115 114.517 93.413 93.413 0 0 0 114.345-66.162l144.833-540.525a93.502 93.502 0 0 1 114.517-66.116 93.413 93.413 0 0 1 65.944 114.47l-238.716 890.9a93.502 93.502 0 0 0 66.116 114.517 93.413 93.413 0 0 0 114.345-66.163z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 6.7 KiB |
BIN
rsvg/tests/fixtures/reftests/bugs/bug165-zero-length-subpath-square-linecap-ref.png
vendored
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
6
rsvg/tests/fixtures/reftests/bugs/bug165-zero-length-subpath-square-linecap.svg
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" standalone="no"?>
|
||||
<svg width="500" height="200" viewBox="0 0 5 2" version="1.1" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="m1 1 0 0" stroke="black" stroke-linecap="butt" />
|
||||
<path d="m2.5 1 0 0" stroke="black" stroke-linecap="round" />
|
||||
<path d="m4 1 0 0" stroke="black" stroke-linecap="square" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 339 B |
BIN
rsvg/tests/fixtures/reftests/bugs/bug181-inheritable-attrs-in-svg-ref.png
vendored
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
3
rsvg/tests/fixtures/reftests/bugs/bug181-inheritable-attrs-in-svg.svg
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="128" height="128" fill="red" opacity="0.5">
|
||||
<circle cx="64" cy="64" r="32"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 133 B |
BIN
rsvg/tests/fixtures/reftests/bugs/bug241-light-source-type-ref.png
vendored
Normal file
|
After Width: | Height: | Size: 3.9 KiB |
16
rsvg/tests/fixtures/reftests/bugs/bug241-light-source-type.svg
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
<svg height="48" viewBox="0 0 48 48" width="48" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<filter id="a" color-interpolation-filters="sRGB">
|
||||
<feTurbulence baseFrequency=".037" numOctaves="3" result="result0"/>
|
||||
<feSpecularLighting result="result1" specularConstant="1" specularExponent="24.3" surfaceScale="2">
|
||||
<feDistantLight azimuth="225" elevation="45"/>
|
||||
</feSpecularLighting>
|
||||
<feDiffuseLighting diffuseConstant="1.21" in="result0" surfaceScale="3">
|
||||
<feDistantLight azimuth="225" elevation="42"/>
|
||||
</feDiffuseLighting>
|
||||
<feBlend in2="SourceGraphic" mode="multiply" result="result91"/>
|
||||
<feComposite in="result1" in2="result91" k2="1" k3="1" operator="arithmetic"/>
|
||||
<feComposite in2="SourceAlpha" operator="in" result="result2"/>
|
||||
</filter>
|
||||
<path d="m4 4h40v40h-40z" fill="#f00" filter="url(#a)"/>
|
||||
</svg>
|
||||
|
||||
|
After Width: | Height: | Size: 890 B |
BIN
rsvg/tests/fixtures/reftests/bugs/bug245-negative-dashoffset-ref.png
vendored
Normal file
|
After Width: | Height: | Size: 161 B |
4
rsvg/tests/fixtures/reftests/bugs/bug245-negative-dashoffset.svg
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0"?>
|
||||
<svg width="100" height="20" viewBox="0 0 100 20" version="1.1" xmlns="http://www.w3.org/2000/svg">
|
||||
<line stroke="#000" stroke-width="5" stroke-dasharray="20, 4" stroke-dashoffset="-5" x1="10" y1="10" x2="90" y2="10" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 251 B |
BIN
rsvg/tests/fixtures/reftests/bugs/bug282-drop-shadow-ref.png
vendored
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
12
rsvg/tests/fixtures/reftests/bugs/bug282-drop-shadow.svg
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
<svg width="48" height="48" version="1.1" xmlns="http://www.w3.org/2000/svg">
|
||||
<defs>
|
||||
<filter id="filter22" color-interpolation-filters="sRGB">
|
||||
<feFlood flood-color="rgb(0,0,0)" flood-opacity=".5" result="flood"/>
|
||||
<feComposite in="flood" in2="SourceGraphic" operator="in" result="composite1"/>
|
||||
<feGaussianBlur in="composite1" result="blur" stdDeviation="2"/>
|
||||
<feOffset dx="0" dy="2" result="offset"/>
|
||||
<feComposite in="SourceGraphic" in2="offset" result="composite2"/>
|
||||
</filter>
|
||||
</defs>
|
||||
<circle cx="24" cy="24" r="20" fill="#EA4335" filter="url(#filter22)"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 608 B |
BIN
rsvg/tests/fixtures/reftests/bugs/bug340047-ref.png
vendored
Normal file
|
After Width: | Height: | Size: 5.4 KiB |
43
rsvg/tests/fixtures/reftests/bugs/bug340047.svg
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="744.09448819"
|
||||
height="1052.3622047"
|
||||
id="svg2"
|
||||
version="1.1"
|
||||
inkscape:version="0.47 r22583"
|
||||
sodipodi:docname="New document 1">
|
||||
|
||||
<g fill = "navy">
|
||||
<text x = "10" y = "25" font-size = "20" font-family="sans">
|
||||
<tspan>
|
||||
e = mc
|
||||
<tspan baseline-shift = "super">
|
||||
2
|
||||
</tspan>
|
||||
</tspan>
|
||||
<tspan x = "10" y = "60">
|
||||
T
|
||||
<tspan baseline-shift = "sub">
|
||||
i+2
|
||||
</tspan>
|
||||
=T
|
||||
<tspan baseline-shift = "sub">
|
||||
i
|
||||
</tspan>
|
||||
+ T
|
||||
<tspan baseline-shift = "sub">
|
||||
i+1
|
||||
</tspan>
|
||||
</tspan>
|
||||
</text>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
BIN
rsvg/tests/fixtures/reftests/bugs/bug363-missing-space-ref.png
vendored
Normal file
|
After Width: | Height: | Size: 7.8 KiB |
6
rsvg/tests/fixtures/reftests/bugs/bug363-missing-space.svg
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 450" font-family="sans-serif" font-size="50">
|
||||
<text x="20" y="100">hello <tspan>world</tspan></text>
|
||||
<!-- <text x="20" y="150">hello<tspan> world</tspan></text> -->
|
||||
<text x="20" y="200">hello <tspan> world</tspan></text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 330 B |
BIN
rsvg/tests/fixtures/reftests/bugs/bug372-small-arcs-ref.png
vendored
Normal file
|
After Width: | Height: | Size: 853 B |
24
rsvg/tests/fixtures/reftests/bugs/bug372-small-arcs.svg
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="320" height="320" viewBox="0 0 16 16">
|
||||
<path d="M 4.25 4
|
||||
h .5
|
||||
a .25 .25 0 0 1 .25 .25
|
||||
V 5
|
||||
h .75
|
||||
a .25 .25 0 0 1 .25 .25
|
||||
v .5
|
||||
a .25 .25 0 0 1 -.25 .25
|
||||
H 5
|
||||
v .75
|
||||
a .25 .25 0 0 1 -.25 .25
|
||||
h -.5
|
||||
A .25 .25 0 0 1 4 6.75
|
||||
V 6
|
||||
h -.75
|
||||
A .25 .25 0 0 1 3 5.75
|
||||
v -.5
|
||||
A .25 .25 0 0 1 3.25 5
|
||||
H 4
|
||||
v -.75
|
||||
A .25 .25 0 0 1 4.25 4
|
||||
z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 510 B |
BIN
rsvg/tests/fixtures/reftests/bugs/bug373-gradient-userspaceonuse-ref.png
vendored
Normal file
|
After Width: | Height: | Size: 631 B |
39
rsvg/tests/fixtures/reftests/bugs/bug373-gradient-userspaceonuse.svg
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!--
|
||||
We draw a horizontal and a vertical line, both with a gradient.
|
||||
Since gradientUnits="userSpaceOnUse", it does not matter that the
|
||||
lines have an empty bounding box, as would be the case for
|
||||
objectBoundingBox. Thus, the gradient *is* drawn (here, all green),
|
||||
instead of leaving the lines unstyled.
|
||||
-->
|
||||
<svg
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
version="1.1"
|
||||
x="0px"
|
||||
y="0px"
|
||||
width="200"
|
||||
height="200"
|
||||
viewBox="0 0 200 200"
|
||||
xml:space="preserve">
|
||||
<rect x="0" y="0" width="200" height="200" style="fill:blue" />
|
||||
<g>
|
||||
<radialGradient id="SVGID_19_" cx="100" cy="100" r="100" gradientUnits="userSpaceOnUse">
|
||||
<stop offset="0" style="stop-color:green" />
|
||||
</radialGradient>
|
||||
<line
|
||||
x1="100"
|
||||
y1="0"
|
||||
x2="100"
|
||||
y2="200"
|
||||
style="fill:none;stroke:url(#SVGID_19_);stroke-width:2;stroke-miterlimit:10"
|
||||
/>
|
||||
<line
|
||||
x1="0"
|
||||
y1="100"
|
||||
x2="200"
|
||||
y2="100"
|
||||
style="fill:none;stroke:url(#SVGID_19_);stroke-width:2;stroke-miterlimit:10"
|
||||
/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
BIN
rsvg/tests/fixtures/reftests/bugs/bug403357-ref.png
vendored
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
48
rsvg/tests/fixtures/reftests/bugs/bug403357.svg
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!--Bug 403357 – Marker display doesn't respect overflow property-->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="200" height="160">
|
||||
<defs>
|
||||
<marker orient="0" markerHeight="10" markerWidth="10" viewBox="0 0 1 1" refY="0.5" refX="0.5" id="marker0" overflow="hidden">
|
||||
<path d="M 0 0.5 L 0.5 1 L 1 0.5 L 0.5 0 Z" />
|
||||
</marker>
|
||||
<marker orient="0" markerHeight="5" markerWidth="5" viewBox="0 0 .5 .5" refY="0.5" refX="0.5" id="marker1" overflow="hidden">
|
||||
<path d="M 0 0.5 L 0.5 1 L 1 0.5 L 0.5 0 Z" />
|
||||
</marker>
|
||||
<marker orient="0" markerHeight="5" markerWidth="5" viewBox="0 0 .5 .5" refY="0.5" refX="0.5" id="marker2" overflow="visible">
|
||||
<path d="M 0 0.5 L 0.5 1 L 1 0.5 L 0.5 0 Z" />
|
||||
</marker>
|
||||
<marker orient="30" markerHeight="10" markerWidth="10" viewBox="0 0 1 1" refY="0.5" refX="0.5" id="marker3" overflow="hidden">
|
||||
<path d="M 0 0.5 L 0.5 1 L 1 0.5 L 0.5 0 Z" />
|
||||
</marker>
|
||||
<marker orient="30" markerHeight="5" markerWidth="5" viewBox="0 0 .5 .5" refY="0.5" refX="0.5" id="marker4" overflow="hidden">
|
||||
<path d="M 0 0.5 L 0.5 1 L 1 0.5 L 0.5 0 Z" />
|
||||
</marker>
|
||||
<marker orient="30" markerHeight="5" markerWidth="5" viewBox="0 0 .5 .5" refY="0.5" refX="0.5" id="marker5" overflow="visible">
|
||||
<path d="M 0 0.5 L 0.5 1 L 1 0.5 L 0.5 0 Z" />
|
||||
</marker>
|
||||
<marker orient="0" markerHeight="10" markerWidth="10" refY="5" refX="5" id="marker10" overflow="hidden">
|
||||
<path d="M 0 5 L 5 10 L 10 5 L 5 0 Z" />
|
||||
</marker>
|
||||
<marker orient="0" markerHeight="5" markerWidth="5" refY="5" refX="5" id="marker11" overflow="hidden">
|
||||
<path d="M 0 5 L 5 10 L 10 5 L 5 0 Z" />
|
||||
</marker>
|
||||
<marker orient="0" markerHeight="5" markerWidth="5" refY="5" refX="5" id="marker12" overflow="visible">
|
||||
<path d="M 0 5 L 5 10 L 10 5 L 5 0 Z" />
|
||||
</marker>
|
||||
<marker orient="30" markerHeight="10" markerWidth="10" refY="5" refX="5" id="marker13" overflow="hidden">
|
||||
<path d="M 0 5 L 5 10 L 10 5 L 5 0 Z" />
|
||||
</marker>
|
||||
<marker orient="30" markerHeight="5" markerWidth="5" refY="5" refX="5" id="marker14" overflow="hidden">
|
||||
<path d="M 0 5 L 5 10 L 10 5 L 5 0 Z" />
|
||||
</marker>
|
||||
<marker orient="30" markerHeight="5" markerWidth="5" refY="5" refX="5" id="marker15" overflow="visible">
|
||||
<path d="M 0 5 L 5 10 L 10 5 L 5 0 Z" />
|
||||
</marker>
|
||||
</defs>
|
||||
<path stroke="black" stroke-width="2" marker-start="url(#marker0)" marker-end="url(#marker10)" d="M 20 40 L 80 40" />
|
||||
<path stroke="black" stroke-width="2" marker-start="url(#marker1)" marker-end="url(#marker11)" d="M 20 80 L 80 80" />
|
||||
<path stroke="black" stroke-width="2" marker-start="url(#marker2)" marker-end="url(#marker12)" d="M 20 120 L 80 120" />
|
||||
<path stroke="black" stroke-width="2" marker-start="url(#marker3)" marker-end="url(#marker13)" d="M 120 40 L 180 40" />
|
||||
<path stroke="black" stroke-width="2" marker-start="url(#marker4)" marker-end="url(#marker14)" d="M 120 80 L 180 80" />
|
||||
<path stroke="black" stroke-width="2" marker-start="url(#marker5)" marker-end="url(#marker15)" d="M 120 120 L 180 120" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.1 KiB |
BIN
rsvg/tests/fixtures/reftests/bugs/bug476507-ref.png
vendored
Normal file
|
After Width: | Height: | Size: 5.8 KiB |
78
rsvg/tests/fixtures/reftests/bugs/bug476507.svg
vendored
Normal file
@@ -0,0 +1,78 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="744.09448819"
|
||||
height="1052.3622047"
|
||||
id="svg4454"
|
||||
version="1.1"
|
||||
inkscape:version="0.48.3.1 r9886"
|
||||
sodipodi:docname="New document 10">
|
||||
<defs
|
||||
id="defs4456">
|
||||
<marker
|
||||
inkscape:stockid="Arrow1Lend"
|
||||
orient="auto"
|
||||
refY="0"
|
||||
refX="0"
|
||||
id="Arrow1Lend"
|
||||
style="overflow:visible">
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
id="path3786"
|
||||
d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
|
||||
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt"
|
||||
transform="matrix(-0.8,0,0,-0.8,-10,0)" />
|
||||
</marker>
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="0.35"
|
||||
inkscape:cx="375"
|
||||
inkscape:cy="520"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
inkscape:window-width="472"
|
||||
inkscape:window-height="383"
|
||||
inkscape:window-x="600"
|
||||
inkscape:window-y="271"
|
||||
inkscape:window-maximized="0" />
|
||||
<metadata
|
||||
id="metadata4459">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:3.29999995;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Lend)"
|
||||
d="m 237.45964,473.86553 c 0,0 133.56466,15.06684 176.97377,168.95554 2.11668,7.50381 4.58183,16.60919 4.58183,16.60919"
|
||||
id="path4227"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="csc"
|
||||
inkscape:export-xdpi="57.75"
|
||||
inkscape:export-ydpi="57.75" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.4 KiB |
BIN
rsvg/tests/fixtures/reftests/bugs/bug481-tspan-uses-at-least-first-x-ref.png
vendored
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
15
rsvg/tests/fixtures/reftests/bugs/bug481-tspan-uses-at-least-first-x.svg
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200">
|
||||
<!--
|
||||
As of July 2019, librsvg does not support multiple positions in
|
||||
the x/y/dx/dy attributes of text/tspan elements. This test is to
|
||||
check that the library at least uses the first position specified.
|
||||
|
||||
(The reference PNG for this SVG is incorrect with respect to the
|
||||
spec, since we don't actually use the second and third positions;
|
||||
it's as if the "Foo" had normal letter spacing.)
|
||||
-->
|
||||
<text style="font-family: sans; font-size: 50; fill: black;" y="100">
|
||||
<tspan x="70 120 170">Foo</tspan>
|
||||
</text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 647 B |
BIN
rsvg/tests/fixtures/reftests/bugs/bug494-text-accumulate-dy-ref.png
vendored
Normal file
|
After Width: | Height: | Size: 4.1 KiB |
14
rsvg/tests/fixtures/reftests/bugs/bug494-text-accumulate-dy.svg
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xml:lang="en" viewBox="0 0 178 178" version="1.1">
|
||||
<style type="text/css">
|
||||
svg {
|
||||
font-family: sans;
|
||||
font-size: 44px;
|
||||
}
|
||||
</style>
|
||||
<text x="0" y="0">
|
||||
<tspan x="0" dy="1.2em">Tata</tspan>
|
||||
<tspan x="0" dy="1.2em">Toto tu</tspan>
|
||||
<tspan x="0" dy="1.2em">ppo</tspan>
|
||||
</text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 391 B |
BIN
rsvg/tests/fixtures/reftests/bugs/bug506-pattern-fallback-ref.png
vendored
Normal file
|
After Width: | Height: | Size: 486 B |
19
rsvg/tests/fixtures/reftests/bugs/bug506-pattern-fallback.svg
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
version="1.1"
|
||||
width="256"
|
||||
height="256"
|
||||
viewBox="0 0 256 256">
|
||||
<defs>
|
||||
<pattern id="pattern1" xlink:href="#pattern2"/>
|
||||
<pattern id="pattern2" patternUnits="userSpaceOnUse" width="1" height="1">
|
||||
<image width="1" height="1" preserveAspectRatio="none"
|
||||
xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAADElEQVQI12Ng+M8AAAICAQCqKp4n
|
||||
AAAAAElFTkSuQmCC"
|
||||
x="0"
|
||||
y="0"/>
|
||||
</pattern>
|
||||
</defs>
|
||||
<rect x="100" y="100" width="56" height="56" style="fill:url(#pattern1);"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 718 B |
BIN
rsvg/tests/fixtures/reftests/bugs/bug510-pattern-fill-opacity-ref.png
vendored
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
21
rsvg/tests/fixtures/reftests/bugs/bug510-pattern-fill-opacity.svg
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
<svg width="200" height="200" xmlns="http://www.w3.org/2000/svg">
|
||||
<defs>
|
||||
<linearGradient id="Gradient1">
|
||||
<stop offset="5%" stop-color="white"/>
|
||||
<stop offset="95%" stop-color="blue"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="Gradient2" x1="0" x2="0" y1="0" y2="1">
|
||||
<stop offset="5%" stop-color="red"/>
|
||||
<stop offset="95%" stop-color="orange"/>
|
||||
</linearGradient>
|
||||
|
||||
<pattern id="Pattern" x="0" y="0" width=".25" height=".25">
|
||||
<rect x="0" y="0" width="50" height="50" fill="skyblue"/>
|
||||
<rect x="0" y="0" width="25" height="25" fill="url(#Gradient2)"/>
|
||||
</pattern>
|
||||
</defs>
|
||||
|
||||
<rect fill="url(#Gradient1)" width="200" height="200"/>
|
||||
<rect fill="url(#Pattern)" stroke="black" width="200" height="200" fill-opacity=".2"/>
|
||||
</svg>
|
||||
|
||||
|
After Width: | Height: | Size: 781 B |
BIN
rsvg/tests/fixtures/reftests/bugs/bug510-pattern-fill-ref.png
vendored
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
21
rsvg/tests/fixtures/reftests/bugs/bug510-pattern-fill.svg
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
<svg width="200" height="200" xmlns="http://www.w3.org/2000/svg">
|
||||
<defs>
|
||||
<linearGradient id="Gradient1">
|
||||
<stop offset="5%" stop-color="white"/>
|
||||
<stop offset="95%" stop-color="blue"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="Gradient2" x1="0" x2="0" y1="0" y2="1">
|
||||
<stop offset="5%" stop-color="red"/>
|
||||
<stop offset="95%" stop-color="orange"/>
|
||||
</linearGradient>
|
||||
|
||||
<pattern id="Pattern" x="0" y="0" width=".25" height=".25">
|
||||
<rect x="0" y="0" width="50" height="50" fill="skyblue"/>
|
||||
<rect x="0" y="0" width="25" height="25" fill="url(#Gradient2)"/>
|
||||
</pattern>
|
||||
</defs>
|
||||
|
||||
<rect fill="url(#Gradient1)" width="200" height="200"/>
|
||||
<rect fill="url(#Pattern)" stroke="black" width="200" height="200"/>
|
||||
</svg>
|
||||
|
||||
|
After Width: | Height: | Size: 763 B |
BIN
rsvg/tests/fixtures/reftests/bugs/bug548-data-url-without-mimetype-ref.png
vendored
Normal file
|
After Width: | Height: | Size: 77 B |
6
rsvg/tests/fixtures/reftests/bugs/bug548-data-url-without-mimetype.svg
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink" width="10" height="10">
|
||||
<image
|
||||
xlink:href="data:;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAIAAAACUFjqAAAAFElEQVQY02Nk+M+ABzAxMIxKYwIAQC0BEwZFOw4AAAAASUVORK5CYII="
|
||||
x="0" y="0" width="10" height="10"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 308 B |
BIN
rsvg/tests/fixtures/reftests/bugs/bug563933-ref.png
vendored
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
86
rsvg/tests/fixtures/reftests/bugs/bug563933.svg
vendored
Normal file
|
After Width: | Height: | Size: 32 KiB |
BIN
rsvg/tests/fixtures/reftests/bugs/bug577-multiple-font-families-ref.png
vendored
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
rsvg/tests/fixtures/reftests/bugs/bug587721-text-transform-ref.png
vendored
Normal file
|
After Width: | Height: | Size: 4.0 KiB |
13
rsvg/tests/fixtures/reftests/bugs/bug587721-text-transform.svg
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg width="1179.75118pt" height="687.74173pt"
|
||||
viewBox="0 0 1179.75118 687.74173"
|
||||
enable-background="new 0 0 1179.75118 687.74173"
|
||||
version="1.1" xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink" >
|
||||
|
||||
<g font-family="'DejaVu Sans'" font-size="1" kerning="0" font-weight="400" fill="#000000">
|
||||
<text transform="matrix(12 0 0 12 929.88438 660.96434)">Frenchtown</text>
|
||||
</g>
|
||||
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 589 B |
BIN
rsvg/tests/fixtures/reftests/bugs/bug590-mask-units-ref.png
vendored
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
26
rsvg/tests/fixtures/reftests/bugs/bug590-mask-units.svg
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
<svg preserveAspectRatio="xMidYMid" viewBox="-70 -100 140 200" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<defs>
|
||||
<!-- A square mask -->
|
||||
<mask id="square-mask">
|
||||
<rect fill="#ffffff" height="49" stroke="none" width="49" x="-49" y="24.5"/>
|
||||
</mask>
|
||||
</defs>
|
||||
<g fill="none" stroke="#292d2f" stroke-width="0.14">
|
||||
<!-- Black background rectangle -->
|
||||
<rect fill="#292d2f" height="200" stroke="#292d2f" width="140" x="-70" y="-100"/>
|
||||
|
||||
<!-- Draw a filled white circle and apply a square mask to only show the bottom left 90 degree arc -->
|
||||
<g mask="url(#square-mask)">
|
||||
<g fill="#ffffff" stroke="none" transform="matrix(-1.8369701987210297e-16 -1 1 -1.8369701987210297e-16 -24.5 49)">
|
||||
<circle cx="24.5" cy="24.5" r="49"/>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
<!-- Magenta outline of the square mask -->
|
||||
<rect stroke="#ff00ff" height="49" fill="none" width="49" x="-49" y="24.5"/>
|
||||
<!-- Yellow outline of the entire circle to mask -->
|
||||
<g fill="none" stroke="#ffff00" transform="matrix(-1.8369701987210297e-16 -1 1 -1.8369701987210297e-16 -24.5 49)">
|
||||
<circle cx="24.5" cy="24.5" r="49" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.2 KiB |
BIN
rsvg/tests/fixtures/reftests/bugs/bug603550-mask-luminance-ref.png
vendored
Normal file
|
After Width: | Height: | Size: 4.5 KiB |
130
rsvg/tests/fixtures/reftests/bugs/bug603550-mask-luminance.svg
vendored
Normal file
@@ -0,0 +1,130 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="744.09448819"
|
||||
height="1052.3622047">
|
||||
<defs
|
||||
id="defs34">
|
||||
<mask
|
||||
maskUnits="userSpaceOnUse"
|
||||
id="masky"
|
||||
x="0"
|
||||
y="0"
|
||||
width='500'
|
||||
height='500'>
|
||||
<g>
|
||||
<rect
|
||||
style="fill:white; stroke:none"
|
||||
id="rect128"
|
||||
width="500"
|
||||
height="500"
|
||||
x="0"
|
||||
y="0" />
|
||||
</g>
|
||||
</mask>
|
||||
</defs>
|
||||
<g mask="url(#masky)" >
|
||||
<g mask="url(#masky)" >
|
||||
<g mask="url(#masky)" >
|
||||
<g mask="url(#masky)" >
|
||||
<g mask="url(#masky)" >
|
||||
<g mask="url(#masky)" >
|
||||
<g mask="url(#masky)" >
|
||||
<g mask="url(#masky)" >
|
||||
<g mask="url(#masky)" >
|
||||
<g mask="url(#masky)" >
|
||||
<rect
|
||||
style="fill:#000000;fill-opacity:1;stroke:none"
|
||||
id="rect42"
|
||||
width="600"
|
||||
height="300"
|
||||
x="0"
|
||||
y="0"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g mask="url(#masky)" >
|
||||
<g mask="url(#masky)" >
|
||||
<g mask="url(#masky)" >
|
||||
<g mask="url(#masky)" >
|
||||
<g mask="url(#masky)" >
|
||||
<g mask="url(#masky)" >
|
||||
<g mask="url(#masky)" >
|
||||
<g mask="url(#masky)" >
|
||||
<g mask="url(#masky)" >
|
||||
<g mask="url(#masky)" >
|
||||
<g mask="url(#masky)" >
|
||||
<g mask="url(#masky)" >
|
||||
<g mask="url(#masky)" >
|
||||
<g mask="url(#masky)" >
|
||||
<g mask="url(#masky)" >
|
||||
<g mask="url(#masky)" >
|
||||
<g mask="url(#masky)" >
|
||||
<g mask="url(#masky)" >
|
||||
<g mask="url(#masky)" >
|
||||
<g mask="url(#masky)" >
|
||||
<g mask="url(#masky)" >
|
||||
<g mask="url(#masky)" >
|
||||
<g mask="url(#masky)" >
|
||||
<g mask="url(#masky)" >
|
||||
<g mask="url(#masky)" >
|
||||
<g mask="url(#masky)" >
|
||||
<g mask="url(#masky)" >
|
||||
<g mask="url(#masky)" >
|
||||
<g mask="url(#masky)" >
|
||||
<g mask="url(#masky)" >
|
||||
<rect
|
||||
style="fill:#000000;fill-opacity:1;stroke:none"
|
||||
id="rect42"
|
||||
width="600"
|
||||
height="300"
|
||||
x="0"
|
||||
y="300"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<rect
|
||||
style="fill:#000000;fill-opacity:1;stroke:none"
|
||||
id="rect42"
|
||||
width="50"
|
||||
height="600"
|
||||
x="275"
|
||||
y="0"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.1 KiB |
BIN
rsvg/tests/fixtures/reftests/bugs/bug609-clippath-transform-ref.png
vendored
Normal file
|
After Width: | Height: | Size: 231 B |
23
rsvg/tests/fixtures/reftests/bugs/bug609-clippath-transform.svg
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
width="100"
|
||||
height="100">
|
||||
|
||||
<rect width="100"
|
||||
height="100"
|
||||
x="0"
|
||||
y="0"
|
||||
fill="black" />
|
||||
|
||||
<rect clip-path="url(#clip)"
|
||||
width="100"
|
||||
height="100"
|
||||
x="0"
|
||||
y="0"
|
||||
fill="red" />
|
||||
|
||||
<defs>
|
||||
<clipPath id="clip" transform="translate(25, 25)">
|
||||
<rect width="50" height="50" x="0" y="0"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 440 B |
BIN
rsvg/tests/fixtures/reftests/bugs/bug634324-blur-negative-transform-ref.png
vendored
Normal file
|
After Width: | Height: | Size: 24 KiB |
14
rsvg/tests/fixtures/reftests/bugs/bug634324-blur-negative-transform.svg
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg width="640" height="480"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg">
|
||||
<defs>
|
||||
<filter id="filter5259">
|
||||
<feGaussianBlur stdDeviation="10" />
|
||||
</filter>
|
||||
</defs>
|
||||
<path
|
||||
d="m 254.28573,198.07648 -83.98834,-2.98146 -50.07031,67.49735 -23.118289,-80.79897 -79.666374,-26.76187 69.700445,-46.95505 0.833789,-84.0371 66.195529,51.779153 80.18169,-25.17591 -28.78936,78.956327 z"
|
||||
transform="matrix(-0.2675823,1.2978266,-1.2978266,-0.2675823,432.82964,76.441279)"
|
||||
style="filter:url(#filter5259)" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 622 B |
BIN
rsvg/tests/fixtures/reftests/bugs/bug642-nested-tspan-dx-dy-ref.png
vendored
Normal file
|
After Width: | Height: | Size: 6.9 KiB |
17
rsvg/tests/fixtures/reftests/bugs/bug642-nested-tspan-dx-dy.svg
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
<svg width="500" height="500" xmlns="http://www.w3.org/2000/svg" version="1.1">
|
||||
<rect x="0" y="0" width="500" height="500" fill="white"/>
|
||||
|
||||
<!-- with buggy #642 these will overlap -->
|
||||
<text x="100" y="100" fill="black" style="font-family: sans-serif; font-size: 20px;">
|
||||
<tspan x="100" y="100" dy="0"><tspan>one</tspan></tspan>
|
||||
<tspan x="100" y="100" dy="20"><tspan>two</tspan></tspan>
|
||||
<tspan x="100" y="100" dy="40"><tspan>three</tspan></tspan>
|
||||
</text>
|
||||
|
||||
<!-- but these won't, note the whitespace inside the outermost tspans -->
|
||||
<text x="100" y="200" fill="black" style="font-family: sans-serif; font-size: 20px;">
|
||||
<tspan x="100" y="200" dy="0"> <tspan>one</tspan></tspan>
|
||||
<tspan x="100" y="200" dy="20"> <tspan>two</tspan></tspan>
|
||||
<tspan x="100" y="200" dy="40"> <tspan>three</tspan></tspan>
|
||||
</text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 844 B |
BIN
rsvg/tests/fixtures/reftests/bugs/bug667-tspan-visibility-ref.png
vendored
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
26
rsvg/tests/fixtures/reftests/bugs/bug667-tspan-visibility.svg
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<svg viewBox="0 0 300 300" xmlns="http://www.w3.org/2000/svg" version="1.1">
|
||||
<g>
|
||||
<!-- text and tspans all visible -->
|
||||
<text x="10" y="10" font-family="sans" font-size="12">
|
||||
foo
|
||||
<tspan>bar</tspan>
|
||||
<tspan>baz</tspan>
|
||||
</text>
|
||||
|
||||
<!-- tspan with display none -->
|
||||
<text x="10" y="50" font-family="sans" font-size="12">
|
||||
foo
|
||||
<tspan display="none">bar</tspan>
|
||||
<tspan>baz</tspan>
|
||||
</text>
|
||||
|
||||
<!-- tspan with visibility hidden -->
|
||||
<text x="10" y="100" font-family="sans" font-size="12">
|
||||
foo
|
||||
<tspan visibility="hidden">bar</tspan>
|
||||
<tspan>baz</tspan>
|
||||
</text>
|
||||
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 692 B |
BIN
rsvg/tests/fixtures/reftests/bugs/bug668-small-caps-ref.png
vendored
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
5
rsvg/tests/fixtures/reftests/bugs/bug668-small-caps.svg
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="300" height="100">
|
||||
<!-- This doesn't work with font-family:sans - one needs to use the real font name -->
|
||||
<text x="10" y="70" style="font-family:Roboto; font-size:40; font-variant:small-caps;">BlahBlehBlih</text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 324 B |
BIN
rsvg/tests/fixtures/reftests/bugs/bug689832-unresolved-gradient-ref.png
vendored
Normal file
|
After Width: | Height: | Size: 943 B |
220
rsvg/tests/fixtures/reftests/bugs/bug689832-unresolved-gradient.svg
vendored
Normal file
@@ -0,0 +1,220 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Generator: Adobe Illustrator 13.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 14948) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
version="1.1"
|
||||
id="Ebene_1"
|
||||
x="0px"
|
||||
y="0px"
|
||||
width="256px"
|
||||
height="18px"
|
||||
viewBox="0 0 256 18"
|
||||
enable-background="new 0 0 256 18"
|
||||
xml:space="preserve"
|
||||
sodipodi:version="0.32"
|
||||
inkscape:version="0.47 r22583"
|
||||
sodipodi:docname="Button_Single_Normal.svg"
|
||||
inkscape:output_extension="org.inkscape.output.svg.inkscape"
|
||||
inkscape:export-filename="C:\Users\Markus\Desktop\OMAN SOL\ownThemes\vThemes\Button\Single\Button_Single_Normal.png"
|
||||
inkscape:export-xdpi="90"
|
||||
inkscape:export-ydpi="90"><sodipodi:namedview
|
||||
inkscape:window-height="667"
|
||||
inkscape:window-width="640"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
guidetolerance="10.0"
|
||||
gridtolerance="10.0"
|
||||
objecttolerance="10.0"
|
||||
borderopacity="1.0"
|
||||
bordercolor="#666666"
|
||||
pagecolor="#ffffff"
|
||||
id="base"
|
||||
showgrid="false"
|
||||
inkscape:zoom="2.125"
|
||||
inkscape:cx="128"
|
||||
inkscape:cy="9"
|
||||
inkscape:window-x="58"
|
||||
inkscape:window-y="58"
|
||||
inkscape:current-layer="Ebene_1"
|
||||
inkscape:window-maximized="0" /><metadata
|
||||
id="metadata29"><rdf:RDF><cc:Work
|
||||
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
|
||||
id="defs27"><inkscape:perspective
|
||||
sodipodi:type="inkscape:persp3d"
|
||||
inkscape:vp_x="0 : 9 : 1"
|
||||
inkscape:vp_y="0 : 1000 : 0"
|
||||
inkscape:vp_z="256 : 9 : 1"
|
||||
inkscape:persp3d-origin="128 : 6 : 1"
|
||||
id="perspective7327" /></defs>
|
||||
<g
|
||||
id="g3">
|
||||
<rect
|
||||
width="256"
|
||||
height="18"
|
||||
id="rect5" />
|
||||
<g
|
||||
id="g7">
|
||||
<linearGradient
|
||||
id="SVGID_1_"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="60.0854"
|
||||
y1="-58.9146"
|
||||
x2="191.20831"
|
||||
y2="71.267044">
|
||||
<stop
|
||||
offset="0"
|
||||
style="stop-color:#0000d4;stop-opacity:1"
|
||||
id="stop10" />
|
||||
<stop
|
||||
offset="0.1459"
|
||||
style="stop-color:#0000d4;stop-opacity:1"
|
||||
id="stop12" />
|
||||
<stop
|
||||
offset="0.5197"
|
||||
style="stop-color:#000080;stop-opacity:1"
|
||||
id="stop14" />
|
||||
<stop
|
||||
offset="0.8174"
|
||||
style="stop-color:#000055;stop-opacity:1"
|
||||
id="stop16" />
|
||||
<stop
|
||||
offset="1"
|
||||
style="stop-color:#00002b;stop-opacity:1"
|
||||
id="stop18" />
|
||||
</linearGradient>
|
||||
<path
|
||||
fill="url(#SVGID_1_-839-88)"
|
||||
d="M256,2c0-1.105-0.896-2-2-2H2C0.895,0,0,0.895,0,2v14c0,1.104,0.895,2,2,2h252c1.104,0,2-0.896,2-2 V2z"
|
||||
id="path20"
|
||||
style="fill:url(#SVGID_1_-510-219)" />
|
||||
<g
|
||||
opacity="0.4"
|
||||
id="g22">
|
||||
<path
|
||||
fill="#ffffff"
|
||||
d="M254,0H2C0.895,0,0,0.895,0,2v2.707C38.479,7.436,82.145,9,128,9c45.791,0,89.176-1.541,128-4.293V2 C256,0.895,255.104,0,254,0z"
|
||||
id="path24" />
|
||||
</g>
|
||||
<linearGradient
|
||||
id="SVGID_1_-839"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="60.0854"
|
||||
y1="-58.9146"
|
||||
x2="191.20831"
|
||||
y2="71.267044">
|
||||
<stop
|
||||
offset="0"
|
||||
style="stop-color:#00d400;stop-opacity:1"
|
||||
id="stop7347" />
|
||||
<stop
|
||||
offset="0.1459"
|
||||
style="stop-color:#00d400;stop-opacity:1"
|
||||
id="stop7349" />
|
||||
<stop
|
||||
offset="0.5197"
|
||||
style="stop-color:#008000;stop-opacity:1"
|
||||
id="stop7351" />
|
||||
<stop
|
||||
offset="0.8174"
|
||||
style="stop-color:#005500;stop-opacity:1"
|
||||
id="stop7353" />
|
||||
<stop
|
||||
offset="1"
|
||||
style="stop-color:#002b00;stop-opacity:1"
|
||||
id="stop7355" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="SVGID_1_-510"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="60.0854"
|
||||
y1="-58.9146"
|
||||
x2="191.20831"
|
||||
y2="71.267044">
|
||||
<stop
|
||||
offset="0"
|
||||
style="stop-color:#00d400;stop-opacity:1"
|
||||
id="stop7358" />
|
||||
<stop
|
||||
offset="0.1459"
|
||||
style="stop-color:#00d400;stop-opacity:1"
|
||||
id="stop7360" />
|
||||
<stop
|
||||
offset="0.5197"
|
||||
style="stop-color:#008000;stop-opacity:1"
|
||||
id="stop7362" />
|
||||
<stop
|
||||
offset="0.8174"
|
||||
style="stop-color:#005500;stop-opacity:1"
|
||||
id="stop7364" />
|
||||
<stop
|
||||
offset="1"
|
||||
style="stop-color:#002b00;stop-opacity:1"
|
||||
id="stop7366" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="SVGID_1_-839-88"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="60.0854"
|
||||
y1="-58.9146"
|
||||
x2="191.20831"
|
||||
y2="71.267044">
|
||||
<stop
|
||||
offset="0"
|
||||
style="stop-color:#0000d4;stop-opacity:1"
|
||||
id="stop7425" />
|
||||
<stop
|
||||
offset="0.1459"
|
||||
style="stop-color:#0000d4;stop-opacity:1"
|
||||
id="stop7427" />
|
||||
<stop
|
||||
offset="0.5197"
|
||||
style="stop-color:#000080;stop-opacity:1"
|
||||
id="stop7429" />
|
||||
<stop
|
||||
offset="0.8174"
|
||||
style="stop-color:#000055;stop-opacity:1"
|
||||
id="stop7431" />
|
||||
<stop
|
||||
offset="1"
|
||||
style="stop-color:#00002b;stop-opacity:1"
|
||||
id="stop7433" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="SVGID_1_-510-219"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="60.0854"
|
||||
y1="-58.9146"
|
||||
x2="191.20831"
|
||||
y2="71.267044">
|
||||
<stop
|
||||
offset="0"
|
||||
style="stop-color:#0000d4;stop-opacity:1"
|
||||
id="stop7436" />
|
||||
<stop
|
||||
offset="0.1459"
|
||||
style="stop-color:#0000d4;stop-opacity:1"
|
||||
id="stop7438" />
|
||||
<stop
|
||||
offset="0.5197"
|
||||
style="stop-color:#000080;stop-opacity:1"
|
||||
id="stop7440" />
|
||||
<stop
|
||||
offset="0.8174"
|
||||
style="stop-color:#000055;stop-opacity:1"
|
||||
id="stop7442" />
|
||||
<stop
|
||||
offset="1"
|
||||
style="stop-color:#00002b;stop-opacity:1"
|
||||
id="stop7444" />
|
||||
</linearGradient>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 5.5 KiB |
BIN
rsvg/tests/fixtures/reftests/bugs/bug718-rect-negative-rx-ry-ref.png
vendored
Normal file
|
After Width: | Height: | Size: 658 B |
11
rsvg/tests/fixtures/reftests/bugs/bug718-rect-negative-rx-ry.svg
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="300" height="100">
|
||||
<!-- Negative values for rx/ry should be ignored -->
|
||||
<rect x="20" y="20" width="60" height="60" fill="red"/>
|
||||
<rect x="10" y="10" width="80" height="80" rx="-10" ry="5" fill="lime"/>
|
||||
|
||||
<rect x="120" y="20" width="60" height="60" fill="red"/>
|
||||
<rect x="110" y="10" width="80" height="80" rx="5" ry="-10" fill="lime"/>
|
||||
|
||||
<rect x="220" y="20" width="60" height="60" fill="red"/>
|
||||
<rect x="210" y="10" width="80" height="80" rx="-5" ry="-10" fill="lime"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 532 B |
BIN
rsvg/tests/fixtures/reftests/bugs/bug730-font-scaling-ref.png
vendored
Normal file
|
After Width: | Height: | Size: 16 KiB |
18
rsvg/tests/fixtures/reftests/bugs/bug730-font-scaling.svg
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="500" height="200">
|
||||
<svg x="10" y="0" width="480" height="40" viewBox="0 0 480 40">
|
||||
<text x="0" y="25" font-size="20" font-family="sans">How vexingly quick daft zebras jump!</text>
|
||||
</svg>
|
||||
|
||||
<svg x="10" y="40" width="480" height="40" viewBox="0 0 240 20">
|
||||
<text x="0" y="12.5" font-size="10" font-family="sans">How vexingly quick daft zebras jump!</text>
|
||||
</svg>
|
||||
|
||||
<svg x="10" y="80" width="480" height="40" viewBox="0 0 120 10">
|
||||
<text x="0" y="6.25" font-size="5" font-family="sans">How vexingly quick daft zebras jump!</text>
|
||||
</svg>
|
||||
|
||||
<svg x="10" y="120" width="480" height="40" viewBox="0 0 60 5">
|
||||
<text x="0" y="3.125" font-size="2.5" font-family="sans">How vexingly quick daft zebras jump!</text>
|
||||
</svg>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 828 B |
BIN
rsvg/tests/fixtures/reftests/bugs/bug738367-ref.png
vendored
Normal file
|
After Width: | Height: | Size: 8.5 KiB |
7
rsvg/tests/fixtures/reftests/bugs/bug738367.svg
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg id="svg2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 300" version="1.1">
|
||||
<path fill="#AAA" stroke="#F00" d="m100,50c100,0,100,100,0,150s-100,50,0,50z"/>
|
||||
<path fill="#AAA" stroke="#F00" d="m300,50c100,0,100,100,0,150h0s-100,50,0,50z"/>
|
||||
<path fill="#AAA" stroke="#F00" d="m500,50c100,0,100,100,0,150v0s-100,50,0,50z"/>
|
||||
<path fill="#AAA" stroke="#F00" d="m700,50c100,0,100,100,0,150l0,0s-100,50,0,50z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 485 B |
BIN
rsvg/tests/fixtures/reftests/bugs/bug760180-ref.png
vendored
Normal file
|
After Width: | Height: | Size: 10 KiB |
159
rsvg/tests/fixtures/reftests/bugs/bug760180.svg
vendored
Normal file
@@ -0,0 +1,159 @@
|
||||
<svg id="svg-root" width="100%" height="100%"
|
||||
viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!--======================================================================-->
|
||||
<!--= Copyright 2008 World Wide Web Consortium, (Massachusetts =-->
|
||||
<!--= Institute of Technology, European Research Consortium for =-->
|
||||
<!--= Informatics and Mathematics (ERCIM), Keio University). =-->
|
||||
<!--= All Rights Reserved. =-->
|
||||
<!--= See http://www.w3.org/Consortium/Legal/. =-->
|
||||
<!--======================================================================-->
|
||||
<d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"
|
||||
template-version="1.4" reviewer="AG" author="ED" status="accepted"
|
||||
version="$Revision: 1.9 $" testname="$RCSfile: painting-marker-06-f.svg,v $">
|
||||
<d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/painting.html#MarkerElement">
|
||||
<p>
|
||||
Tests the basic support for markers. For the three tests, there
|
||||
should be two identical paths with markers drawn. The path on the left is
|
||||
rendered using the marker elements. The path on the right is rendered using
|
||||
the equivalent SVG, showing what the marked path should look like.
|
||||
</p>
|
||||
<p>
|
||||
This test is similar to the painting-marker-01-f.svg test, but has some viewBox attributes
|
||||
that have a non-zero offset.
|
||||
</p>
|
||||
<p>
|
||||
The top test examines the basic support for the marker element and style. The markers are purple rectangles.
|
||||
</p>
|
||||
<p>
|
||||
The middle test examines the support for the different styles of marker properties. The
|
||||
"marker-start" property defines the marker to use at the first vertex of the marked path,
|
||||
in this case a purple rectangle. The "marker-end" property defines the marker to use at the
|
||||
last vertex of the marked path, in this case a blue triangle. The "marker-mid" property
|
||||
defines the marker to use at all vertices, other than the first and last, of the marked path,
|
||||
in this case a green circle.
|
||||
</p>
|
||||
<p>
|
||||
The bottom test examines the support for marker orientation along the
|
||||
path direction. The second vertex, the top right corner of the path, has a marker that
|
||||
is rotated 45 degrees, since that is the average of the horizontal and vertical segments
|
||||
each side. The last vertex, the bottom right corner of the path, has a marker rotated 90
|
||||
degrees since that is the direction of the last path segment.
|
||||
</p>
|
||||
</d:testDescription>
|
||||
<d:operatorScript xmlns="http://www.w3.org/1999/xhtml">
|
||||
<p>
|
||||
Run the test. No interaction required.
|
||||
</p>
|
||||
</d:operatorScript>
|
||||
<d:passCriteria xmlns="http://www.w3.org/1999/xhtml">
|
||||
<p>
|
||||
The rendered picture should match the reference image, except for possible
|
||||
variations in the labelling text (per CSS2 rules).
|
||||
</p>
|
||||
</d:passCriteria>
|
||||
</d:SVGTestCase>
|
||||
<title id="test-title">$RCSfile: painting-marker-06-f.svg,v $</title>
|
||||
<defs>
|
||||
<font-face
|
||||
font-family="SVGFreeSansASCII"
|
||||
unicode-range="U+0-7F">
|
||||
<font-face-src>
|
||||
<font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>
|
||||
</font-face-src>
|
||||
</font-face>
|
||||
</defs>
|
||||
<g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">
|
||||
<defs>
|
||||
<!-- ===================================================================== -->
|
||||
<!-- Define a few simple marker elements -->
|
||||
<!-- ===================================================================== -->
|
||||
<marker id="marker1" viewBox="20 20 10 10" markerWidth="2" markerHeight="2" refX="25" refY="25" markerUnits="strokeWidth">
|
||||
<rect x="20" y="20" width="10" height="10" fill="purple" stroke="none"/>
|
||||
</marker>
|
||||
<marker id="marker2" viewBox="-5 -5 10 10" markerWidth="2" markerHeight="2" markerUnits="strokeWidth" orient="auto">
|
||||
<path d="M 0 -5 L 5 5 L -5 5 Z" fill="blue" stroke="none"/>
|
||||
</marker>
|
||||
<marker id="markerStart" viewBox="0 0 10 10" markerWidth="2" markerHeight="2" refX="5" refY="5" markerUnits="strokeWidth">
|
||||
<rect width="10" height="10" fill="purple" stroke="none"/>
|
||||
</marker>
|
||||
<marker id="markerMiddle" viewBox="0 0 10 10" markerWidth="2" markerHeight="2" refX="5" refY="5" markerUnits="strokeWidth">
|
||||
<circle cx="5" cy="5" r="5" fill="green" stroke="none"/>
|
||||
</marker>
|
||||
<marker id="markerEnd" viewBox="0 0 10 10" markerWidth="2" markerHeight="2" refX="5" refY="5" markerUnits="strokeWidth">
|
||||
<path d="M 5 0 L 10 10 L 0 10 Z" fill="blue" stroke="none"/>
|
||||
</marker>
|
||||
</defs>
|
||||
<!-- ===================================================================== -->
|
||||
<!-- Basic Marker Test -->
|
||||
<!-- ===================================================================== -->
|
||||
<text x="170" y="30" font-size="14">Basic Markers</text>
|
||||
<path fill="none" stroke="black" stroke-width="8" marker-start="url(#marker1)" marker-mid="url(#marker1)" marker-end="url(#marker1)" d="M 130 40 L 180 40 L 180 90"/>
|
||||
<!-- ===================================================================== -->
|
||||
<!-- Generate the equivalent SVG -->
|
||||
<!-- ===================================================================== -->
|
||||
<g transform="translate(120,0)">
|
||||
<path fill="none" stroke="black" stroke-width="8" d="M 130 40 L 180 40 L 180 90"/>
|
||||
<g transform="translate(130,40) scale(8) scale(0.2, 0.2) translate(-5, -5)" fill="none" stroke="black" stroke-width="8">
|
||||
<rect width="10" height="10" fill="purple" stroke="none"/>
|
||||
</g>
|
||||
<g transform="translate(180,40) scale(8) scale(0.2, 0.2) translate(-5, -5)" fill="none" stroke="black" stroke-width="8">
|
||||
<rect width="10" height="10" fill="purple" stroke="none"/>
|
||||
</g>
|
||||
<g transform="translate(180,90) scale(8) scale(0.2, 0.2) translate(-5, -5)" fill="none" stroke="black" stroke-width="8">
|
||||
<rect width="10" height="10" fill="purple" stroke="none"/>
|
||||
</g>
|
||||
</g>
|
||||
<!-- ===================================================================== -->
|
||||
<!-- Start, Middle and End Marker Test -->
|
||||
<!-- ===================================================================== -->
|
||||
<text x="145" y="125" font-size="14">Start, Middle and End</text>
|
||||
<path fill="none" stroke="black" stroke-width="8" marker-start="url(#markerStart)" marker-mid="url(#markerMiddle)" marker-end="url(#markerEnd)" d="M 130 135 L 180 135 L 180 185"/>
|
||||
<!-- ===================================================================== -->
|
||||
<!-- Generate the equivalent SVG -->
|
||||
<!-- ===================================================================== -->
|
||||
<g transform="translate(120,0)">
|
||||
<path fill="none" stroke="black" stroke-width="8" d="M 130 135 L 180 135 L 180 185"/>
|
||||
<g transform="translate(130,135) scale(8) scale(0.2, 0.2) translate(-5, -5)" fill="none" stroke="black" stroke-width="8">
|
||||
<rect width="10" height="10" fill="purple" stroke="none"/>
|
||||
</g>
|
||||
<g transform="translate(180,135) scale(8) scale(0.2, 0.2) translate(-5, -5)" fill="none" stroke="black" stroke-width="8">
|
||||
<circle cx="5" cy="5" r="5" fill="green" stroke="none"/>
|
||||
</g>
|
||||
<g transform="translate(180,185) scale(8) scale(0.2, 0.2) translate(-5, -5)" fill="none" stroke="black" stroke-width="8">
|
||||
<path d="M 5 0 L 10 10 L 0 10 Z" fill="blue" stroke="none"/>
|
||||
</g>
|
||||
</g>
|
||||
<!-- ===================================================================== -->
|
||||
<!-- Auto Orientation Marker Test -->
|
||||
<!-- ===================================================================== -->
|
||||
<text x="145" y="220" font-size="14">Automatic Orientation</text>
|
||||
<path fill="none" stroke="black" stroke-width="8" marker-start="url(#marker2)" marker-mid="url(#marker2)" marker-end="url(#marker2)" d="M 130 230 L 180 230 L 180 280"/>
|
||||
<!-- ===================================================================== -->
|
||||
<!-- Generate the equivalent SVG -->
|
||||
<!-- ===================================================================== -->
|
||||
<g transform="translate(120,0)">
|
||||
<path fill="none" stroke="black" stroke-width="8" d="M 130 230 L 180 230 L 180 280"/>
|
||||
<g transform="translate(130,230) rotate(0) scale(8) scale(0.2, 0.2) translate(-5, -5)" fill="none" stroke="black" stroke-width="8">
|
||||
<path d="M 5 0 L 10 10 L 0 10 Z" fill="blue" stroke="none"/>
|
||||
</g>
|
||||
<g transform="translate(180,230) rotate(45) scale(8) scale(0.2, 0.2) translate(-5, -5)" fill="none" stroke="black" stroke-width="8">
|
||||
<path d="M 5 0 L 10 10 L 0 10 Z" fill="blue" stroke="none"/>
|
||||
</g>
|
||||
<g transform="translate(180,280) rotate(90) scale(8) scale(0.2, 0.2) translate(-5, -5)" fill="none" stroke="black" stroke-width="8">
|
||||
<path d="M 5 0 L 10 10 L 0 10 Z" fill="blue" stroke="none"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
|
||||
<text id="revision" x="10" y="340" stroke="none"
|
||||
fill="black">$Revision: 1.9 $</text>
|
||||
</g>
|
||||
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>
|
||||
<!-- comment out this watermark once the test is approved -->
|
||||
<!--<g id="draft-watermark">
|
||||
<rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>
|
||||
<text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"
|
||||
text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
|
||||
</g>-->
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 9.7 KiB |
BIN
rsvg/tests/fixtures/reftests/bugs/bug761175-recursive-masks-ref.png
vendored
Normal file
|
After Width: | Height: | Size: 513 B |
50
rsvg/tests/fixtures/reftests/bugs/bug761175-recursive-masks.svg
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
<svg version="1.1" baseProfile="full" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" stroke-linecap="round" stroke-linejoin="round" fill-rule="evenodd" width="321.00" height="27.00" viewBox="0 0 6420 540">
|
||||
<metadata>
|
||||
<rdf:RDF>
|
||||
<rdf:Description>
|
||||
<dc:description>MSS/MilX-Export to SVG</dc:description>
|
||||
<dc:publisher>gs-soft AG</dc:publisher>
|
||||
</rdf:Description>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs>
|
||||
<style type="text/css">
|
||||
<![CDATA[
|
||||
.Pen0 {fill:none;stroke:black;stroke-width:42;}
|
||||
.Pen1 {fill:none;stroke:black;stroke-width:44;}
|
||||
]]>
|
||||
</style>
|
||||
<mask id="Mask_ClipObj0_ex_ClipObj1" maskUnits="userSpaceOnUse" x="0" y="0" width="6420" height="540">
|
||||
<g>
|
||||
<use xlink:href="#ClipObj0" fill="white"/>
|
||||
<use xlink:href="#ClipObj1" fill="black"/>
|
||||
</g>
|
||||
</mask>
|
||||
<g id="ClipObj0_ex_ClipObj1">
|
||||
<use xlink:href="#ClipObj0" mask="url(#Mask_ClipObj0_ex_ClipObj1)"/>
|
||||
</g>
|
||||
<mask id="Region0" maskUnits="userSpaceOnUse" x="0" y="0" width="6420" height="540" fill-rule="nonzero">
|
||||
<use xlink:href="#ClipObj0_ex_ClipObj1" fill="white"/>
|
||||
</mask>
|
||||
<mask id="Region1" maskUnits="userSpaceOnUse" x="0" y="0" width="6420" height="540" fill-rule="nonzero">
|
||||
<use xlink:href="#ClipObj0" fill="white"/>
|
||||
</mask>
|
||||
<rect id="ClipObj0" x="0" y="0" width="6420" height="540"/>
|
||||
<polygon id="ClipObj1" points="2760,20 3660,20 3660,500 2760,500"/>
|
||||
<g id="Block1">
|
||||
<g transform="matrix(0.068 0 0 0.068 2 2)">
|
||||
<polyline points="480,0 300,300" class="Pen1"/>
|
||||
</g>
|
||||
</g>
|
||||
</defs>
|
||||
<g mask="url(#Region0)">
|
||||
<g transform="matrix(1.66667 0 0 1.66667 0 0)">
|
||||
<polyline points="30,156 3810,156" class="Pen0"/>
|
||||
</g>
|
||||
</g>
|
||||
<g mask="url(#Region1)">
|
||||
<g transform="matrix(19.529 0 0 19.1333 2751.67 21.6667)">
|
||||
<use xlink:href="#Block1"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.9 KiB |
BIN
rsvg/tests/fixtures/reftests/bugs/bug761871-reset-reflection-points-ref.png
vendored
Normal file
|
After Width: | Height: | Size: 695 B |
18
rsvg/tests/fixtures/reftests/bugs/bug761871-reset-reflection-points.svg
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="128" height="128" viewBox="0 0 256 128">
|
||||
|
||||
<!-- alternating S (or C) and T -->
|
||||
<path d="M 10 10 S 10 48 48 48 T 48 10"/>
|
||||
<path d="M 60 10 S 60 48 98 48 Q 98 48 98 10"/>
|
||||
|
||||
<path d="M 10 60 C 10 60 10 98 48 98 T 48 60"/>
|
||||
<path d="M 60 60 C 60 60 60 98 98 98 Q 98 98 98 60"/>
|
||||
<g transform='translate (128, 0)'>
|
||||
<!-- alternating Q (or T) and S -->
|
||||
<path d="M 10 10 T 10 48 S 48 48 48 10"/>
|
||||
<path d="M 60 10 T 60 48 C 60 48 98 48 98 10"/>
|
||||
|
||||
<path d="M 10 60 Q 10 60 10 98 S 48 98 48 60"/>
|
||||
<path d="M 60 60 Q 60 60 60 98 C 60 98 98 98 98 60"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
|
After Width: | Height: | Size: 643 B |
BIN
rsvg/tests/fixtures/reftests/bugs/bug763386-marker-coincident-ref.png
vendored
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
15
rsvg/tests/fixtures/reftests/bugs/bug763386-marker-coincident.svg
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
viewBox="0 0 130 130">
|
||||
<marker id="marker"
|
||||
viewBox="-4 -4 8 8"
|
||||
orient="auto">
|
||||
<path d="M -1 -4, -1, 4, 1, 0 Z"/>
|
||||
</marker>
|
||||
<path stroke-width="8" marker-start="url(#marker)" marker-end="url(#marker)"
|
||||
stroke="red" d="M 12,12 c 0,0 0,0 40,40"/>
|
||||
<path stroke-width="8" marker-start="url(#marker)" marker-end="url(#marker)"
|
||||
stroke="red" d="M 118,12 c -40,40 -40,40 -40,40"/>
|
||||
<path stroke-width="8" marker-start="url(#marker)" marker-end="url(#marker)"
|
||||
stroke="red" d="M 12,70 c 0,0 40,40 40,40"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 673 B |
BIN
rsvg/tests/fixtures/reftests/bugs/bug776297-marker-on-non-path-elements-ref.png
vendored
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
16
rsvg/tests/fixtures/reftests/bugs/bug776297-marker-on-non-path-elements.svg
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
viewBox="0 0 128 64">
|
||||
<marker id="marker"
|
||||
viewBox="0 -1 4 2"
|
||||
orient="auto">
|
||||
<path fill="blue" d="M 0 -1 L 4 0 0 1" />
|
||||
</marker>
|
||||
|
||||
<path stroke-width="4" marker-mid="url(#marker)"
|
||||
stroke="red" fill="none" d="M 12,12 l 40,0 0,40 -40,0 0,-40"/>
|
||||
<circle stroke-width="4" cx="32" cy="32" r="20" marker-mid="url(#marker)"
|
||||
stroke="red" fill="none"/>
|
||||
<rect stroke-width="4" x="76" y="12" width="40" height="40" marker-mid="url(#marker)"
|
||||
stroke="red" fill="none"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 611 B |
BIN
rsvg/tests/fixtures/reftests/bugs/bug786372-default-style-type-ref.png
vendored
Normal file
|
After Width: | Height: | Size: 287 B |
1
rsvg/tests/fixtures/reftests/bugs/bug786372-default-style-type.svg
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill:#010101;}.b{fill:none;}</style></defs><title>Icont set</title><path class="a" d="M17.15,15.56c-2-.46-3.87-.87-3-2.58,2.75-5.2.73-8-2.18-8S7.06,7.89,9.82,13c.93,1.72-1,2.12-3,2.58C5.06,16,5,16.86,5,18.42V19H19v-.57C19,16.87,18.95,16,17.15,15.56Z"/><path class="b" d="M0,0H24V24H0Z"/></svg>
|
||||
|
After Width: | Height: | Size: 369 B |
BIN
rsvg/tests/fixtures/reftests/bugs/bug788-inner-svg-viewbox-ref.png
vendored
Normal file
|
After Width: | Height: | Size: 362 B |
21
rsvg/tests/fixtures/reftests/bugs/bug788-inner-svg-viewbox.svg
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="#FFFFFF" height="62px" version="1.1" viewBox="0 0 164 62" width="164px">
|
||||
<defs>
|
||||
<clipPath id="clip"><rect height="100%" width="100%" x="0" y="0"/></clipPath>
|
||||
</defs>
|
||||
<g clip-path="url(#clip)">
|
||||
<g style="text-anchor:middle" transform="translate(72)">
|
||||
<linearGradient id="BOX" x1="100%" x2="100%" y1="100%" y2="0">
|
||||
<stop offset="0" style="stop-color:#2E2E2E"/>
|
||||
<stop offset="1" style="stop-color:#676769"/>
|
||||
</linearGradient>
|
||||
|
||||
<g transform="translate(-148)">
|
||||
<svg height="45%" width="22px" x="100%" y="3.33%">
|
||||
<rect fill="url(#BOX)" height="100%" width="100%"/>
|
||||
<rect fill="green" x="50%" y="72%" width="4px" height="4px">3</rect>
|
||||
</svg>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 790 B |
7
rsvg/tests/fixtures/reftests/bugs/ignore-577-multiple-font-families.svg
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="500" height="500">
|
||||
<rect x="0" y="0" width="500" height="500" fill="white"/>
|
||||
<text font-family="Nonexistent Family, serif, sans" x="100" y="100" font-size="30">
|
||||
Hello
|
||||
</text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 295 B |
3
rsvg/tests/fixtures/reftests/bugs/use-symbol-cascade-992-ref.svg
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100" height="100">
|
||||
<rect x="10" y="10" width="50" height="50" fill="lime"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 175 B |
10
rsvg/tests/fixtures/reftests/bugs/use-symbol-cascade-992.svg
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100" height="100">
|
||||
<!-- Test that <use> cascades its properties to a referenced <symbol>. In #992 we had a
|
||||
regression where this worked for non-symbol elements, but it broke for symbols.
|
||||
-->
|
||||
<symbol id="foo">
|
||||
<rect x="10" y="10" width="50" height="50"/>
|
||||
</symbol>
|
||||
|
||||
<use xlink:href="#foo" fill="lime"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 421 B |