README-svgweb 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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. Enable or disable the SVGWeb with dojo gfx
  7. ------------------------------------------------------------
  8. The function is only enabled when SVGWeb JS is included and the gfx renderer is
  9. 'svg'. If either SVGWeb is not available or the renderer is not 'svg', dojox.gfx
  10. works as usual.
  11. To enable SVGWeb with dojo gfx:
  12. 1. Include SVGWeb JS at the FIRST of all your javascripts
  13. <meta name="svg.render.forceflash" content="true"/>
  14. <script src="<path>/svgweb/src/svg.js" data-path="<path>/svgweb/src"></script>
  15. 2. Force 'svg' renderer with the 'forceGfxRenderer' config
  16. <script src="<path>/dojo/dojo.js" djConfig="forceGfxRenderer:'svg'"></script>
  17. ============================================================
  18. Test dojo gfx + SVGWeb
  19. ------------------------------------------------------------
  20. All SVGWeb-specific tests are in dojox/gfx/tests/svgweb.
  21. ============================================================
  22. GFX Performance Test Status
  23. ------------------------------------------------------------
  24. Runs dojo gfx performance tests on IE7 with different renderers, compare their
  25. performance. The result so far is
  26. * Silverlight is the fastest: 27,546 ms;
  27. * Tuned SVGWeb is the 2nd place: 38,690 ms, almost 3 times faster than
  28. before
  29. * VML is the slowest: 50,250 ms
  30. ============================================================
  31. GFX Functional Test Status
  32. ------------------------------------------------------------
  33. Summary / General findings
  34. * Pass rate 83%, 25 out of 30 pass
  35. * The behavior is very consistent on IE & FF
  36. * Transformation of Text is not working
  37. * Line style is not working
  38. * getTextWidth() does not work, see svgweb bug 417
  39. * IE7 has memory issue, see svgweb bug 418 (IE8 seems fine)
  40. PASS test.roundrect.html
  41. PASS test_arc.html
  42. PASS test_bezier.html
  43. PASS test_decompose.html
  44. PASS test_destroy.html
  45. PASS test_fill.html
  46. FAIL test_fx.html: mostly works, except for the transformation of text (svgweb bug 158)
  47. PASS test_fx_shapes.html
  48. PASS test_gfx.html
  49. 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
  50. PASS test_group1.html: partly works, but rect highlight change has problem (svgweb bug 296)
  51. PASS test_group2.html: works, with source changed from 'dijit.byId()' to 'dojo.byId()'
  52. PASS test_image1.html
  53. PASS test_image2.html: picture shows, but move and transform has serious problem (svgweb bug 296)
  54. FAIL test_image3.html: picture shows, but move and transform has serious problem (svgweb bug 427, 436)
  55. PASS test_image4.html
  56. PASS test_image5.html: still image gets cropped after dragging, but mostly it's working (svgweb bug 244)
  57. PASS test_linearGradient.html
  58. FAIL test_linestyle.html: not work (svgweb bug 65)
  59. PASS test_pattern.html
  60. PASS test_poly.html
  61. PASS test_resize.html
  62. PASS test_setPath.html
  63. PASS test_tbbox.html: output drawing is incorrect (svgweb bug 296)
  64. FAIL test_text.html: text shows, but the rotation still fails (svgweb bug 158)
  65. FAIL test_textpath.html: not work (svgweb bug 169)
  66. PASS test_transform.html: output drawing is incorrect (svgweb bug 296)
  67. PASS test_utils.html
  68. PASS test_vectortext_draw.html
  69. 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...