Debian Codegraph @

dojox/gfx/README-svgweb

raw
1 NOTICE of 3rd party code included
2 =================================
3 For ease of testing, latest SVGWeb release is included, see
4 dojox/gfx/tests/svgweb/README for details.
5
6
7 ============================================================
8 Enable or disable the SVGWeb with dojo gfx
9 ------------------------------------------------------------
10
11 The function is only enabled when SVGWeb JS is included and the gfx renderer is
12 'svg'. If either SVGWeb is not available or the renderer is not 'svg', dojox.gfx
13 works as usual.
14
15 To enable SVGWeb with dojo gfx:
16
17 1. Include SVGWeb JS at the FIRST of all your javascripts
18
19 <meta name="svg.render.forceflash" content="true"/>
20 <script src="<path>/svgweb/src/svg.js" data-path="<path>/svgweb/src"></script>
21
22 2. Force 'svg' renderer with the 'forceGfxRenderer' config
23
24 <script src="<path>/dojo/dojo.js" djConfig="forceGfxRenderer:'svg'"></script>
25
26
27 ============================================================
28 Test dojo gfx + SVGWeb
29 ------------------------------------------------------------
30
31 All SVGWeb-specific tests are in dojox/gfx/tests/svgweb.
32
33 ============================================================
34 GFX Performance Test Status
35 ------------------------------------------------------------
36
37 Runs dojo gfx performance tests on IE7 with different renderers, compare their
38 performance. The result so far is
39
40 * Silverlight is the fastest: 27,546 ms;
41 * Tuned SVGWeb is the 2nd place: 38,690 ms, almost 3 times faster than
42 before
43 * VML is the slowest: 50,250 ms
44
45
46 ============================================================
47 GFX Functional Test Status
48 ------------------------------------------------------------
49
50 Summary / General findings
51
52 * Pass rate 83%, 25 out of 30 pass
53 * The behavior is very consistent on IE & FF
54 * Transformation of Text is not working
55 * Line style is not working
56 * getTextWidth() does not work, see svgweb bug 417
57 * IE7 has memory issue, see svgweb bug 418 (IE8 seems fine)
58
59 PASS test.roundrect.html
60 PASS test_arc.html
61 PASS test_bezier.html
62 PASS test_decompose.html
63 PASS test_destroy.html
64 PASS test_fill.html
65
66 FAIL test_fx.html: mostly works, except for the transformation of text (svgweb bug 158)
67
68 PASS test_fx_shapes.html
69 PASS test_gfx.html
70 PASS test_gradient.html: works, but performance is slow due to the creation of a lot of shapes; using suspendRedraw() helps, but not much; current time is 8.5 seconds on IE7, 3 seconds on FF 3.5
71 PASS test_group1.html: partly works, but rect highlight change has problem (svgweb bug 296)
72 PASS test_group2.html: works, with source changed from 'dijit.byId()' to 'dojo.byId()'
73 PASS test_image1.html
74 PASS test_image2.html: picture shows, but move and transform has serious problem (svgweb bug 296)
75
76 FAIL test_image3.html: picture shows, but move and transform has serious problem (svgweb bug 427, 436)
77
78 PASS test_image4.html
79 PASS test_image5.html: still image gets cropped after dragging, but mostly it's working (svgweb bug 244)
80 PASS test_linearGradient.html
81
82 FAIL test_linestyle.html: not work (svgweb bug 65)
83
84 PASS test_pattern.html
85 PASS test_poly.html
86 PASS test_resize.html
87 PASS test_setPath.html
88 PASS test_tbbox.html: output drawing is incorrect (svgweb bug 296)
89
90 FAIL test_text.html: text shows, but the rotation still fails (svgweb bug 158)
91
92 FAIL test_textpath.html: not work (svgweb bug 169)
93
94 PASS test_transform.html: output drawing is incorrect (svgweb bug 296)
95 PASS test_utils.html
96 PASS test_vectortext_draw.html
97 PASS test_vectortext_load.html: functionally, this works, but very very slow; Reduced the test case to print just 26 chars, in FF it takes 30+ seconds, in IE7 it's more than a minute...
98