summaryrefslogtreecommitdiffstats
path: root/tests/arthur/data/bugs
diff options
context:
space:
mode:
authorQt by Nokia <qt-info@nokia.com>2011-04-27 12:05:43 +0200
committeraxis <qt-info@nokia.com>2011-04-27 12:05:43 +0200
commit38be0d13830efd2d98281c645c3a60afe05ffece (patch)
tree6ea73f3ec77f7d153333779883e8120f82820abe /tests/arthur/data/bugs
Initial import from the monolithic Qt.
This is the beginning of revision history for this module. If you want to look at revision history older than this, please refer to the Qt Git wiki for how to use Git history grafting. At the time of writing, this wiki is located here: http://qt.gitorious.org/qt/pages/GitIntroductionWithQt If you have already performed the grafting and you don't see any history beyond this commit, try running "git log" with the "--follow" argument. Branched from the monolithic repo, Qt master branch, at commit 896db169ea224deb96c59ce8af800d019de63f12
Diffstat (limited to 'tests/arthur/data/bugs')
-rw-r--r--tests/arthur/data/bugs/.gitattributes2
-rw-r--r--tests/arthur/data/bugs/gradient-defaults.svg18
-rw-r--r--tests/arthur/data/bugs/gradient_pen_fill.svg32
-rw-r--r--tests/arthur/data/bugs/openglcurve.svg35
-rw-r--r--tests/arthur/data/bugs/org_module.svg389
-rw-r--r--tests/arthur/data/bugs/resolve_linear.svg29
-rw-r--r--tests/arthur/data/bugs/resolve_radial.svg36
-rw-r--r--tests/arthur/data/bugs/text_pens.svg7
8 files changed, 548 insertions, 0 deletions
diff --git a/tests/arthur/data/bugs/.gitattributes b/tests/arthur/data/bugs/.gitattributes
new file mode 100644
index 0000000000..d159e22039
--- /dev/null
+++ b/tests/arthur/data/bugs/.gitattributes
@@ -0,0 +1,2 @@
+openglcurve.svg -crlf
+resolve_linear.svg -crlf
diff --git a/tests/arthur/data/bugs/gradient-defaults.svg b/tests/arthur/data/bugs/gradient-defaults.svg
new file mode 100644
index 0000000000..cae3f52c1c
--- /dev/null
+++ b/tests/arthur/data/bugs/gradient-defaults.svg
@@ -0,0 +1,18 @@
+<?xml version='1.0' encoding='UTF-8' standalone='no'?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Basic//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-basic.dtd">
+<svg width="78mm" height="108mm" viewBox="-10 -10 78 108"
+xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+xmlns="http://www.w3.org/2000/svg"
+xmlns:xlink="http://www.w3.org/1999/xlink"
+xmlns:cc="http://web.resource.org/cc/"
+xmlns:dc="http://purl.org/dc/elements/1.1/"
+>
+<defs>
+<linearGradient id="shadow-gradient" >
+<stop offset="0" style="stop-color:#f00;stop-opacity:1" />
+<stop offset="0.5" style="stop-color:#ff0;stop-opacity:1" />
+<stop offset="1" style="stop-color:#0f0;stop-opacity:1" />
+</linearGradient>
+</defs>
+<rect id="card-shadow" width="57.8" x="0.1" y="0.1" height="87.8" style="fill:url(#shadow-gradient);stroke:none" />
+</svg>
diff --git a/tests/arthur/data/bugs/gradient_pen_fill.svg b/tests/arthur/data/bugs/gradient_pen_fill.svg
new file mode 100644
index 0000000000..9a76f62149
--- /dev/null
+++ b/tests/arthur/data/bugs/gradient_pen_fill.svg
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<svg xmlns="http://www.w3.org/2000/svg" version="1.2" baseProfile="tiny"
+ width="220" height="420" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <defs>
+ <radialGradient id="gr1" cx="0.5" cy="0.5" r="0.5" gradientUnits="objectBoundingBox">
+ <stop offset="0" stop-color="blue" />
+ <stop offset="1" stop-color="yellow" />
+ </radialGradient>
+ <radialGradient id="gr2" cx="0.9" cy="0.5" r="1" gradientUnits="objectBoundingBox">
+ <stop offset="0" stop-color="blue" />
+ <stop offset="1" stop-color="yellow" />
+ </radialGradient>
+ <linearGradient id="gr3" x1="0" x2="1" y1="0" y2="1" gradientUnits="objectBoundingBox">
+ <stop offset="0" stop-color="blue" />
+ <stop offset="1" stop-color="yellow" />
+ </linearGradient>
+ <radialGradient id="gr4" cx=".5" cy=".5" r=".5" gradientUnits="objectBoundingBox">
+ <stop offset="0" stop-color="blue" />
+ <stop offset=".5" stop-color="yellow" />
+ <stop offset="1" stop-color="blue" />
+ </radialGradient>
+ <linearGradient id="gr5" x1="0" x2="0.5" y1="0" y2="0" gradientUnits="objectBoundingBox">
+ <stop offset="0" stop-color="blue" />
+ <stop offset="1" stop-color="yellow" />
+ </linearGradient>
+ </defs>
+
+ <rect width="180" height="80" x="20" y="20" fill="url(#gr1)" />
+ <rect width="180" height="80" x="20" y="120" fill="url(#gr2)" stroke-width="10" stroke="url(#gr2)"/>
+ <rect width="180" height="80" x="20" y="220" fill="url(#gr3)" stroke-width="10" stroke="url(#gr5)"/>
+ <rect width="180" height="80" x="20" y="320" fill="url(#gr4)" stroke-width="10" stroke="url(#gr4)"/>
+</svg>
diff --git a/tests/arthur/data/bugs/openglcurve.svg b/tests/arthur/data/bugs/openglcurve.svg
new file mode 100644
index 0000000000..a0b43901e6
--- /dev/null
+++ b/tests/arthur/data/bugs/openglcurve.svg
@@ -0,0 +1,35 @@
+<svg
+ version="1.0"
+ x="0"
+ y="0"
+ width="500.000000"
+ height="500.000000"
+ id="svg559"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink">
+ <rect
+ width="500.000000"
+ height="500.000000"
+ x="0"
+ y="0"
+ style="font-size:12.000;fill:black;fill-rule:evenodd;"
+ id="rect562"/>
+ <g transform="translate(100,100)">
+ <ellipse cx="0" cy="0" rx="30" ry="50"
+ transform="rotate(90)"
+ style="fill:none;fill-rule:evenodd;stroke:#f29400;stroke-width:12.50000;stroke-linecap:round;"
+ id="path572"/>
+ </g>
+ <g transform="translate(200,200)">
+ <ellipse cx="0" cy="0" rx="30" ry="50"
+ transform="rotate(180)"
+ style="fill:none;fill-rule:evenodd;stroke:#f29400;stroke-width:12.50000;stroke-linecap:round;"
+ id="path572"/>
+ </g>
+ <g transform="translate(300,300)">
+ <ellipse cx="0" cy="0" rx="30" ry="50"
+ transform="rotate(270)"
+ style="fill:none;fill-rule:evenodd;stroke:#f29400;stroke-width:12.50000;stroke-linecap:round;"
+ id="path572"/>
+ </g>
+</svg>
diff --git a/tests/arthur/data/bugs/org_module.svg b/tests/arthur/data/bugs/org_module.svg
new file mode 100644
index 0000000000..44c90c9528
--- /dev/null
+++ b/tests/arthur/data/bugs/org_module.svg
@@ -0,0 +1,389 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
+ "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd" [
+ <!ATTLIST svg xmlns:xlink CDATA #FIXED "http://www.w3.org/1999/xlink">
+]>
+<!-- Generated by dot version 2.6 (Sun Aug 28 13:14:52 UTC 2005)
+ For user: Bill Gates -->
+<!-- Title: G Pages: 1 -->
+<svg width="1519pt" height="870pt"
+ viewBox = "0 0 1519 870"
+ xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+<g id="graph0" class="graph" style="font-family:Times-Roman;font-size:14.00;">
+<title>G</title>
+<text text-anchor="middle" x="759" y="858">main overview</text>
+<g id="graph2" class="cluster"><title>cluster1</title>
+<polygon style="fill:none;stroke:black;" points="308,825 1184,825 1184,709 308,709 308,825"/>
+<text text-anchor="middle" x="746" y="726">Qt Library</text>
+</g>
+<g id="graph3" class="cluster"><title>cluster1_01</title>
+<polygon style="fill:none;stroke:black;" points="1096,817 1176,817 1176,741 1096,741 1096,817"/>
+<text text-anchor="middle" x="1136" y="758">QtCore.dll</text>
+</g>
+<g id="graph4" class="cluster"><title>cluster1_02</title>
+<polygon style="fill:none;stroke:black;" points="316,817 1088,817 1088,741 316,741 316,817"/>
+<text text-anchor="middle" x="702" y="758">QtGui.dll</text>
+</g>
+<g id="graph5" class="cluster"><title>cluster2</title>
+<polygon style="fill:none;stroke:black;" points="342,561 489,561 489,271 342,271 342,561"/>
+<text text-anchor="middle" x="416" y="288">about</text>
+</g>
+<g id="graph6" class="cluster"><title>cluster2_01</title>
+<polygon style="fill:none;stroke:black;" points="360,379 473,379 473,303 360,303 360,379"/>
+<text text-anchor="middle" x="417" y="320">about_dialog.hpp</text>
+</g>
+<g id="graph7" class="cluster"><title>cluster2_02</title>
+<polygon style="fill:none;stroke:black;" points="350,553 481,553 481,477 350,477 350,553"/>
+<text text-anchor="middle" x="416" y="494">ui_about_dialog.hpp</text>
+</g>
+<g id="graph8" class="cluster"><title>cluster3</title>
+<polygon style="fill:none;stroke:black;" points="604,677 761,677 761,271 604,271 604,677"/>
+<text text-anchor="middle" x="683" y="288">editor</text>
+</g>
+<g id="graph9" class="cluster"><title>cluster3_01</title>
+<polygon style="fill:none;stroke:black;" points="616,379 730,379 730,303 616,303 616,379"/>
+<text text-anchor="middle" x="673" y="320">docked_edits.hpp</text>
+</g>
+<g id="graph10" class="cluster"><title>cluster3_02</title>
+<polygon style="fill:none;stroke:black;" points="619,553 731,553 731,477 619,477 619,553"/>
+<text text-anchor="middle" x="675" y="494">tabbed_edits.hpp</text>
+</g>
+<g id="graph11" class="cluster"><title>cluster3_03</title>
+<polygon style="fill:none;stroke:black;" points="612,669 753,669 753,593 612,593 612,669"/>
+<text text-anchor="middle" x="683" y="610">editor_component.hpp</text>
+</g>
+<g id="graph12" class="cluster"><title>cluster4</title>
+<polygon style="fill:#c1b2ff;stroke:#c1b2ff;" points="13,825 300,825 300,445 13,445 13,825"/>
+<text text-anchor="middle" x="157" y="462">highlightner</text>
+</g>
+<g id="graph13" class="cluster"><title>cluster4_01</title>
+<polygon style="fill:#c1b2ff;stroke:#c1b2ff;" points="73,669 177,669 177,593 73,593 73,669"/>
+<text text-anchor="middle" x="125" y="610">hml_reader.hpp</text>
+</g>
+<g id="graph14" class="cluster"><title>cluster4_02</title>
+<polygon style="fill:#c1b2ff;stroke:#c1b2ff;" points="59,553 194,553 194,477 59,477 59,553"/>
+<text text-anchor="middle" x="127" y="494">language_builder.hpp</text>
+</g>
+<g id="graph15" class="cluster"><title>cluster4_03</title>
+<polygon style="fill:#c1b2ff;stroke:#c1b2ff;" points="42,817 113,817 113,741 42,741 42,817"/>
+<text text-anchor="middle" x="78" y="758">entity.hpp</text>
+</g>
+<g id="graph16" class="cluster"><title>cluster4_04</title>
+<polygon style="fill:#c1b2ff;stroke:#c1b2ff;" points="185,669 292,669 292,593 185,593 185,669"/>
+<text text-anchor="middle" x="239" y="610">highlightner.hpp</text>
+</g>
+<g id="graph17" class="cluster"><title>cluster5</title>
+<polygon style="fill:none;stroke:black;" points="720,239 855,239 855,123 720,123 720,239"/>
+<text text-anchor="middle" x="788" y="140">mainwindow</text>
+</g>
+<g id="graph18" class="cluster"><title>cluster5_01</title>
+<polygon style="fill:none;stroke:black;" points="728,231 847,231 847,155 728,155 728,231"/>
+<text text-anchor="middle" x="788" y="172">main_window.hpp</text>
+</g>
+<g id="graph19" class="cluster"><title>cluster6</title>
+<polygon style="fill:none;stroke:black;" points="1192,833 1417,833 1417,413 1192,413 1192,833"/>
+<text text-anchor="middle" x="1305" y="430">menubar_toolbar</text>
+</g>
+<g id="graph20" class="cluster"><title>cluster6_01</title>
+<polygon style="fill:none;stroke:black;" points="1200,553 1280,553 1280,477 1200,477 1200,553"/>
+<text text-anchor="middle" x="1240" y="494">actions.hpp</text>
+</g>
+<g id="graph21" class="cluster"><title>cluster6_02</title>
+<polygon style="fill:#c1b2ff;stroke:#c1b2ff;" points="1288,825 1409,825 1409,445 1288,445 1288,825"/>
+<text text-anchor="middle" x="1349" y="462">icons</text>
+</g>
+<g id="graph22" class="cluster"><title>cluster6_02_001</title>
+<polygon style="fill:#c1b2ff;stroke:#c1b2ff;" points="1296,553 1401,553 1401,477 1296,477 1296,553"/>
+<text text-anchor="middle" x="1349" y="494">icon_loader.hpp</text>
+</g>
+<g id="graph23" class="cluster"><title>cluster6_02_002</title>
+<polygon style="fill:#c1b2ff;stroke:#c1b2ff;" points="1298,817 1391,817 1391,741 1298,741 1298,817"/>
+<text text-anchor="middle" x="1345" y="758">ics_entity.hpp</text>
+</g>
+<g id="graph24" class="cluster"><title>cluster6_02_003</title>
+<polygon style="fill:#c1b2ff;stroke:#c1b2ff;" points="1296,669 1393,669 1393,593 1296,593 1296,669"/>
+<text text-anchor="middle" x="1345" y="610">ics_reader.hpp</text>
+</g>
+<g id="graph25" class="cluster"><title>cluster7</title>
+<polygon style="fill:none;stroke:black;" points="1198,89 1268,89 1268,13 1198,13 1198,89"/>
+<text text-anchor="middle" x="1233" y="30">main.cpp</text>
+</g>
+<!-- QObject -->
+<g id="node3" class="node"><title>QObject</title>
+<polygon style="fill:none;stroke:black;" points="1168,773 1104,773 1104,809 1168,809 1168,773"/>
+<text text-anchor="middle" x="1136" y="796">QObject</text>
+</g>
+<!-- QAction -->
+<g id="node5" class="node"><title>QAction</title>
+<polygon style="fill:none;stroke:black;" points="900,773 836,773 836,809 900,809 900,773"/>
+<text text-anchor="middle" x="868" y="796">QAction</text>
+</g>
+<!-- QApplication -->
+<g id="node6" class="node"><title>QApplication</title>
+<polygon style="fill:none;stroke:black;" points="1080,773 990,773 990,809 1080,809 1080,773"/>
+<text text-anchor="middle" x="1035" y="796">QApplication</text>
+</g>
+<!-- QDialog -->
+<g id="node7" class="node"><title>QDialog</title>
+<polygon style="fill:none;stroke:black;" points="388,773 324,773 324,809 388,809 388,773"/>
+<text text-anchor="middle" x="356" y="796">QDialog</text>
+</g>
+<!-- QDockWidget -->
+<g id="node8" class="node"><title>QDockWidget</title>
+<polygon style="fill:none;stroke:black;" points="502,773 406,773 406,809 502,809 502,773"/>
+<text text-anchor="middle" x="454" y="796">QDockWidget</text>
+</g>
+<!-- QIcon -->
+<g id="node9" class="node"><title>QIcon</title>
+<polygon style="fill:none;stroke:black;" points="972,773 918,773 918,809 972,809 972,773"/>
+<text text-anchor="middle" x="945" y="796">QIcon</text>
+</g>
+<!-- QMainWindow -->
+<g id="node10" class="node"><title>QMainWindow</title>
+<polygon style="fill:none;stroke:black;" points="818,773 716,773 716,809 818,809 818,773"/>
+<text text-anchor="middle" x="767" y="796">QMainWindow</text>
+</g>
+<!-- QTabWidget -->
+<g id="node11" class="node"><title>QTabWidget</title>
+<polygon style="fill:none;stroke:black;" points="606,773 520,773 520,809 606,809 606,773"/>
+<text text-anchor="middle" x="563" y="796">QTabWidget</text>
+</g>
+<!-- QTextEdit -->
+<g id="node12" class="node"><title>QTextEdit</title>
+<polygon style="fill:none;stroke:black;" points="698,773 624,773 624,809 698,809 698,773"/>
+<text text-anchor="middle" x="661" y="796">QTextEdit</text>
+</g>
+<!-- AboutDialog -->
+<g id="node15" class="node"><title>AboutDialog</title>
+<polygon style="fill:none;stroke:black;" points="460,335 372,335 372,371 460,371 460,335"/>
+<text text-anchor="middle" x="416" y="358">AboutDialog</text>
+</g>
+<!-- AboutDialog&#45;&gt;QDialog -->
+<g id="edge26" class="edge"><title>AboutDialog&#45;&gt;QDialog</title>
+<path style="fill:none;stroke:black;" d="M385,371C370,381 354,396 346,413 291,533 329,698 347,763"/>
+<polygon style="fill:black;stroke:black;" points="350,762 350,773 344,764 350,762"/>
+<text text-anchor="middle" x="340" y="582">inherits</text>
+</g>
+<!-- Ui_AboutDialog -->
+<g id="node17" class="node"><title>Ui_AboutDialog</title>
+<polygon style="fill:none;stroke:black;" points="471,509 361,509 361,545 471,545 471,509"/>
+<text text-anchor="middle" x="416" y="532">Ui::AboutDialog</text>
+</g>
+<!-- AboutDialog&#45;&gt;Ui_AboutDialog -->
+<g id="edge28" class="edge"><title>AboutDialog&#45;&gt;Ui_AboutDialog</title>
+<path style="fill:none;stroke:black;" d="M416,371C416,402 416,463 416,499"/>
+<polygon style="fill:black;stroke:black;" points="420,499 416,509 413,499 420,499"/>
+<text text-anchor="middle" x="437" y="402">inherits</text>
+</g>
+<!-- DockedEdits -->
+<g id="node20" class="node"><title>DockedEdits</title>
+<polygon style="fill:none;stroke:black;" points="714,335 626,335 626,371 714,371 714,335"/>
+<text text-anchor="middle" x="670" y="358">DockedEdits</text>
+</g>
+<!-- DockedEdits&#45;&gt;QDockWidget -->
+<g id="edge30" class="edge"><title>DockedEdits&#45;&gt;QDockWidget</title>
+<path style="fill:none;stroke:black;" d="M652,371C641,383 626,398 615,413 531,531 479,697 462,763"/>
+<polygon style="fill:black;stroke:black;" points="465,764 459,773 459,762 465,764"/>
+<text text-anchor="middle" x="552" y="582">inherits</text>
+</g>
+<!-- TabbedEdits -->
+<g id="node22" class="node"><title>TabbedEdits</title>
+<polygon style="fill:none;stroke:black;" points="713,509 627,509 627,545 713,545 713,509"/>
+<text text-anchor="middle" x="670" y="532">TabbedEdits</text>
+</g>
+<!-- DockedEdits&#45;&gt;TabbedEdits -->
+<g id="edge32" class="edge"><title>DockedEdits&#45;&gt;TabbedEdits</title>
+<path style="fill:none;stroke:black;" d="M670,371C670,402 670,463 670,499"/>
+<polygon style="fill:black;stroke:black;" points="674,499 670,509 667,499 674,499"/>
+<text text-anchor="middle" x="683" y="402">uses</text>
+</g>
+<!-- TabbedEdits&#45;&gt;QTabWidget -->
+<g id="edge34" class="edge"><title>TabbedEdits&#45;&gt;QTabWidget</title>
+<path style="fill:none;stroke:black;" d="M627,543C605,554 580,570 567,593 537,647 547,723 556,763"/>
+<polygon style="fill:black;stroke:black;" points="559,763 558,773 553,764 559,763"/>
+<text text-anchor="middle" x="591" y="648">inherits</text>
+</g>
+<!-- EditorComponent -->
+<g id="node24" class="node"><title>EditorComponent</title>
+<polygon style="fill:none;stroke:black;" points="738,625 622,625 622,661 738,661 738,625"/>
+<text text-anchor="middle" x="680" y="648">EditorComponent</text>
+</g>
+<!-- TabbedEdits&#45;&gt;EditorComponent -->
+<g id="edge36" class="edge"><title>TabbedEdits&#45;&gt;EditorComponent</title>
+<path style="fill:none;stroke:black;" d="M672,545C673,564 675,593 677,615"/>
+<polygon style="fill:black;stroke:black;" points="680,615 678,625 674,615 680,615"/>
+<text text-anchor="middle" x="689" y="582">uses</text>
+</g>
+<!-- EditorComponent&#45;&gt;QTextEdit -->
+<g id="edge38" class="edge"><title>EditorComponent&#45;&gt;QTextEdit</title>
+<path style="fill:none;stroke:black;" d="M678,661C674,687 668,733 664,763"/>
+<polygon style="fill:black;stroke:black;" points="667,763 663,773 661,763 667,763"/>
+<text text-anchor="middle" x="697" y="698">inherits</text>
+</g>
+<!-- HmlReader -->
+<g id="node27" class="node"><title>HmlReader</title>
+<polygon style="fill:none;stroke:black;" points="166,625 86,625 86,661 166,661 166,625"/>
+<text text-anchor="middle" x="126" y="648">HmlReader</text>
+</g>
+<!-- HmlReader&#45;&gt;QObject -->
+<g id="edge40" class="edge"><title>HmlReader&#45;&gt;QObject</title>
+<path style="fill:none;stroke:black;" d="M150,661C159,667 170,673 181,677 289,713 322,695 434,701 453,702 1077,700 1092,709 1111,721 1123,744 1129,763"/>
+<polygon style="fill:black;stroke:black;" points="1132,762 1132,773 1126,764 1132,762"/>
+<text text-anchor="middle" x="455" y="698">inherits</text>
+</g>
+<!-- Entity -->
+<g id="node31" class="node"><title>Entity</title>
+<polygon style="fill:none;stroke:black;" points="104,773 50,773 50,809 104,809 104,773"/>
+<text text-anchor="middle" x="77" y="796">Entity</text>
+</g>
+<!-- HmlReader&#45;&gt;Entity -->
+<g id="edge42" class="edge"><title>HmlReader&#45;&gt;Entity</title>
+<path style="fill:none;stroke:black;" d="M117,661C113,669 109,677 106,685 97,711 88,741 83,763"/>
+<polygon style="fill:black;stroke:black;" points="86,764 81,773 80,763 86,764"/>
+<text text-anchor="middle" x="122" y="698">uses</text>
+</g>
+<!-- LanguageBuilder -->
+<g id="node29" class="node"><title>LanguageBuilder</title>
+<polygon style="fill:none;stroke:black;" points="182,509 70,509 70,545 182,545 182,509"/>
+<text text-anchor="middle" x="126" y="532">LanguageBuilder</text>
+</g>
+<!-- LanguageBuilder&#45;&gt;HmlReader -->
+<g id="edge44" class="edge"><title>LanguageBuilder&#45;&gt;HmlReader</title>
+<path style="fill:none;stroke:black;" d="M126,545C126,564 126,593 126,615"/>
+<polygon style="fill:black;stroke:black;" points="130,615 126,625 123,615 130,615"/>
+<text text-anchor="middle" x="139" y="582">uses</text>
+</g>
+<!-- LanguageBuilder&#45;&gt;Entity -->
+<g id="edge46" class="edge"><title>LanguageBuilder&#45;&gt;Entity</title>
+<path style="fill:none;stroke:black;" d="M91,545C73,556 53,572 43,593 16,650 44,724 63,764"/>
+<polygon style="fill:black;stroke:black;" points="66,762 67,773 60,765 66,762"/>
+<text text-anchor="middle" x="59" y="648">uses</text>
+</g>
+<!-- Highlightner -->
+<g id="node33" class="node"><title>Highlightner</title>
+<polygon style="fill:none;stroke:black;" points="281,625 195,625 195,661 281,661 281,625"/>
+<text text-anchor="middle" x="238" y="648">Highlightner</text>
+</g>
+<!-- LanguageBuilder&#45;&gt;Highlightner -->
+<g id="edge48" class="edge"><title>LanguageBuilder&#45;&gt;Highlightner</title>
+<path style="fill:none;stroke:black;" d="M143,545C162,565 192,596 213,618"/>
+<polygon style="fill:black;stroke:black;" points="215,615 220,625 210,620 215,615"/>
+<text text-anchor="middle" x="202" y="582">creates</text>
+</g>
+<!-- Highlightner&#45;&gt;QObject -->
+<g id="edge50" class="edge"><title>Highlightner&#45;&gt;QObject</title>
+<path style="fill:none;stroke:black;" d="M281,651C353,665 502,691 629,701 642,703 1082,703 1092,709 1111,721 1123,744 1129,763"/>
+<polygon style="fill:black;stroke:black;" points="1132,762 1132,773 1126,764 1132,762"/>
+<text text-anchor="middle" x="650" y="698">inherits</text>
+</g>
+<!-- MainWindow -->
+<g id="node36" class="node"><title>MainWindow</title>
+<polygon style="fill:none;stroke:black;" points="834,187 740,187 740,223 834,223 834,187"/>
+<text text-anchor="middle" x="787" y="210">MainWindow</text>
+</g>
+<!-- MainWindow&#45;&gt;QMainWindow -->
+<g id="edge52" class="edge"><title>MainWindow&#45;&gt;QMainWindow</title>
+<path style="fill:none;stroke:black;" d="M787,223C787,251 787,307 787,353 787,353 787,353 787,643 787,686 779,733 773,763"/>
+<polygon style="fill:black;stroke:black;" points="776,764 771,773 770,763 776,764"/>
+<text text-anchor="middle" x="808" y="532">inherits</text>
+</g>
+<!-- MainWindow&#45;&gt;AboutDialog -->
+<g id="edge58" class="edge"><title>MainWindow&#45;&gt;AboutDialog</title>
+<path style="fill:none;stroke:black;" d="M740,223C705,236 655,254 612,271 563,290 507,314 467,331"/>
+<polygon style="fill:black;stroke:black;" points="469,334 458,335 466,328 469,334"/>
+<text text-anchor="middle" x="694" y="260">uses</text>
+</g>
+<!-- MainWindow&#45;&gt;DockedEdits -->
+<g id="edge54" class="edge"><title>MainWindow&#45;&gt;DockedEdits</title>
+<path style="fill:none;stroke:black;" d="M769,223C762,231 754,239 747,247 726,273 703,305 688,327"/>
+<polygon style="fill:black;stroke:black;" points="691,329 682,335 685,325 691,329"/>
+<text text-anchor="middle" x="763" y="260">uses</text>
+</g>
+<!-- Actions -->
+<g id="node39" class="node"><title>Actions</title>
+<polygon style="fill:none;stroke:black;" points="1268,509 1208,509 1208,545 1268,545 1268,509"/>
+<text text-anchor="middle" x="1238" y="532">Actions</text>
+</g>
+<!-- MainWindow&#45;&gt;Actions -->
+<g id="edge56" class="edge"><title>MainWindow&#45;&gt;Actions</title>
+<path style="fill:none;stroke:black;" d="M812,223C888,278 1118,441 1205,503"/>
+<polygon style="fill:black;stroke:black;" points="1207,500 1213,509 1203,506 1207,500"/>
+<text text-anchor="middle" x="1042" y="358">uses</text>
+</g>
+<!-- Actions&#45;&gt;QObject -->
+<g id="edge60" class="edge"><title>Actions&#45;&gt;QObject</title>
+<path style="fill:none;stroke:black;" d="M1212,545C1197,557 1179,574 1169,593 1141,648 1136,723 1135,763"/>
+<polygon style="fill:black;stroke:black;" points="1139,763 1135,773 1132,763 1139,763"/>
+<text text-anchor="middle" x="1193" y="648">inherits</text>
+</g>
+<!-- Actions&#45;&gt;QAction -->
+<g id="edge62" class="edge"><title>Actions&#45;&gt;QAction</title>
+<path style="fill:none;stroke:black;" d="M1208,537C1145,558 998,616 909,709 894,725 884,746 877,763"/>
+<polygon style="fill:black;stroke:black;" points="880,764 874,773 874,762 880,764"/>
+<text text-anchor="middle" x="1089" y="648">uses</text>
+</g>
+<!-- IconLoader -->
+<g id="node42" class="node"><title>IconLoader</title>
+<polygon style="fill:none;stroke:black;" points="1384,509 1304,509 1304,545 1384,545 1384,509"/>
+<text text-anchor="middle" x="1344" y="532">IconLoader</text>
+</g>
+<!-- IconLoader&#45;&gt;QObject -->
+<g id="edge64" class="edge"><title>IconLoader&#45;&gt;QObject</title>
+<path style="fill:none;stroke:black;" d="M1364,545C1376,557 1391,575 1397,593 1410,629 1412,643 1397,677 1378,721 1340,696 1294,709 1250,723 1203,749 1172,768"/>
+<polygon style="fill:black;stroke:black;" points="1173,771 1163,773 1170,765 1173,771"/>
+<text text-anchor="middle" x="1430" y="648">inherits</text>
+</g>
+<!-- IconLoader&#45;&gt;QIcon -->
+<g id="edge66" class="edge"><title>IconLoader&#45;&gt;QIcon</title>
+<path style="fill:none;stroke:black;" d="M1319,545C1303,557 1282,575 1266,593 1238,627 1251,654 1214,677 1127,734 1065,647 981,709 964,722 955,745 950,763"/>
+<polygon style="fill:black;stroke:black;" points="953,764 948,773 947,763 953,764"/>
+<text text-anchor="middle" x="1282" y="648">uses</text>
+</g>
+<!-- IcsReader -->
+<g id="node46" class="node"><title>IcsReader</title>
+<polygon style="fill:none;stroke:black;" points="1377,625 1305,625 1305,661 1377,661 1377,625"/>
+<text text-anchor="middle" x="1341" y="648">IcsReader</text>
+</g>
+<!-- IconLoader&#45;&gt;IcsReader -->
+<g id="edge68" class="edge"><title>IconLoader&#45;&gt;IcsReader</title>
+<path style="fill:none;stroke:black;" d="M1344,545C1343,564 1342,593 1342,615"/>
+<polygon style="fill:black;stroke:black;" points="1346,615 1342,625 1339,615 1346,615"/>
+<text text-anchor="middle" x="1357" y="582">uses</text>
+</g>
+<!-- IcsEntity -->
+<g id="node44" class="node"><title>IcsEntity</title>
+<polygon style="fill:none;stroke:black;" points="1374,773 1308,773 1308,809 1374,809 1374,773"/>
+<text text-anchor="middle" x="1341" y="796">IcsEntity</text>
+</g>
+<!-- IcsReader&#45;&gt;QObject -->
+<g id="edge70" class="edge"><title>IcsReader&#45;&gt;QObject</title>
+<path style="fill:none;stroke:black;" d="M1316,661C1279,688 1210,738 1169,767"/>
+<polygon style="fill:black;stroke:black;" points="1171,770 1161,773 1167,764 1171,770"/>
+<text text-anchor="middle" x="1303" y="698">inherits</text>
+</g>
+<!-- IcsReader&#45;&gt;IcsEntity -->
+<g id="edge72" class="edge"><title>IcsReader&#45;&gt;IcsEntity</title>
+<path style="fill:none;stroke:black;" d="M1341,661C1341,687 1341,732 1341,763"/>
+<polygon style="fill:black;stroke:black;" points="1345,763 1341,773 1338,763 1345,763"/>
+<text text-anchor="middle" x="1354" y="698">uses</text>
+</g>
+<!-- main -->
+<g id="node48" class="node"><title>main</title>
+<polygon style="fill:none;stroke:black;" points="1260,45 1206,45 1206,81 1260,81 1260,45"/>
+<text text-anchor="middle" x="1233" y="68">main</text>
+</g>
+<!-- main&#45;&gt;QApplication -->
+<g id="edge74" class="edge"><title>main&#45;&gt;QApplication</title>
+<path style="fill:none;stroke:black;" d="M1260,65C1326,73 1488,102 1488,205 1488,205 1488,205 1488,643 1488,702 1429,693 1371,701 1341,706 1120,695 1092,709 1071,721 1055,745 1046,764"/>
+<polygon style="fill:black;stroke:black;" points="1049,765 1042,773 1043,762 1049,765"/>
+<text text-anchor="middle" x="1501" y="402">uses</text>
+</g>
+<!-- main&#45;&gt;MainWindow -->
+<g id="edge76" class="edge"><title>main&#45;&gt;MainWindow</title>
+<path style="fill:none;stroke:black;" d="M1206,72C1134,94 940,156 844,187"/>
+<polygon style="fill:black;stroke:black;" points="845,190 834,190 843,184 845,190"/>
+<text text-anchor="middle" x="1127" y="112">uses</text>
+</g>
+</g>
+</svg>
+
diff --git a/tests/arthur/data/bugs/resolve_linear.svg b/tests/arthur/data/bugs/resolve_linear.svg
new file mode 100644
index 0000000000..c1769b2b5f
--- /dev/null
+++ b/tests/arthur/data/bugs/resolve_linear.svg
@@ -0,0 +1,29 @@
+<svg version="1.0" x="0" y="0" width="800.000000" height="600.000000"
+ id="svg559" xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink">
+ <defs
+ id="defs561">
+ <linearGradient
+ id="linearGradient563">
+ <stop
+ style="stop-color:#0000ee;stop-opacity:1.0000;"
+ offset="0"
+ id="stop564"/>
+ <stop
+ style="stop-color:#000000;stop-opacity:1.0000;"
+ offset="1"
+ id="stop565"/>
+ </linearGradient>
+ <linearGradient
+ x1="0"
+ y1="0"
+ x2="0"
+ y2="1.000000"
+ id="linearGradient568"
+ xlink:href="#linearGradient563"/>
+ </defs>
+ <path
+ d="M 0 600 L 0 550 L 30.00000 560 L 30.00000 440 L 60.00000 440 L 80.00000 560 L 110.0000 560 L 150 460 L 200 450 L 210 560 L 260 570 L 270 500 L 290 450 L 310 490 L 320 450 L 340 490 L 350 450 L 370 490 L 390 490 L 390 380 L 420 380 L 430 570 L 460 560 L 480 430 L 530 430 L 540 560 L 570 570 L 570 480 L 630 480 L 620 560 L 710 570 L 720 410 L 780 410 L 770 560 L 800 540 L 800 600 L 0 600 z "
+ style="fill:url(#linearGradient568);fill-rule:evenodd;"
+ id="path571"/>
+</svg>
diff --git a/tests/arthur/data/bugs/resolve_radial.svg b/tests/arthur/data/bugs/resolve_radial.svg
new file mode 100644
index 0000000000..49fb0f8c3b
--- /dev/null
+++ b/tests/arthur/data/bugs/resolve_radial.svg
@@ -0,0 +1,36 @@
+<!-- bugs in this one are mainly caused by QPainterPath::boundingRect/
+ controlPoints computation. -->
+<svg version="1.0" x="0" y="0" width="800.000000" height="600.000000"
+ id="svg559"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink">
+ <defs
+ id="defs561">
+ <linearGradient
+ id="linearGradient563">
+ <stop
+ style="stop-color:#0000ee;stop-opacity:1.0000;"
+ offset="0"
+ id="stop564"/>
+ <stop
+ style="stop-color:#000000;stop-opacity:1.0000;"
+ offset="1"
+ id="stop565"/>
+ </linearGradient>
+ <radialGradient
+ cx="0.500000"
+ cy="1.000000"
+ r="0.600000"
+ fx="0.500000"
+ fy="1.000000"
+ id="radialGradient566"
+ xlink:href="#linearGradient563"/>
+ </defs>
+ <rect
+ width="800.000000"
+ height="600.000000"
+ x="0"
+ y="0"
+ style="font-size:12.000;fill:url(#radialGradient566);fill-rule:evenodd;"
+ id="rect562"/>
+</svg>
diff --git a/tests/arthur/data/bugs/text_pens.svg b/tests/arthur/data/bugs/text_pens.svg
new file mode 100644
index 0000000000..3f7c9eb784
--- /dev/null
+++ b/tests/arthur/data/bugs/text_pens.svg
@@ -0,0 +1,7 @@
+<?xml version="1.0" standalone="no"?>
+<svg width="10cm" height="10cm" viewBox="0 0 1000 1000"
+ xmlns="http://www.w3.org/2000/svg" version="1.2" baseProfile="tiny">
+ <text text-anchor="left" font-size="45" font-family="Verdana" x="50" y="50">Text should be drawn in black</text>
+ <text fill="red" text-anchor="left" font-size="45" font-family="Verdana" x="50" y="100">Text should be drawn in red</text>
+ <text fill="none" text-anchor="left" font-size="45" font-family="Verdana" x="50" y="150">Text should not be drawn at all</text>
+</svg>