wiki:SVG TODO List - Short notes

Version 6 (modified by zimmermann@kde.org, 17 years ago) (diff)

--

This is a random collection of TODO items for ksvg2 in WebKit.
If any of this item is fixed, a proper bug report will be created,
until that happens, this is a good place to list certain items.
If you have any questions about these items, or want to help
with them, please contact rwlbuis/WildFox on irc.freenode.net, #webkit.

Important, design changes:

  • SVGAngle* -> SVGAngle (pass by value, not by pointer)
  • SVGColor* -> SVGColor (pass by value, not by pointer)
  • SVGPreserveAspectRatio* -> SVGPreserveAspectRatio (pass by value, not by pointer)

JavaScript / ObjC SVG DOM issues:

  • Provide more SVG DOM JavaScript tests (ie. for SVGLength & friends)

Gradient issues:

  • Linear/Radial gradient on text stroke are broken (if you select the text, you see it inverted!)
  • Linear gradients and Cg don't support spread methods (eek! this is important!)

Pattern issues:

  • Patterns are implemented in an ugly way (see item above "Masks" on how to fix this)

Mask issues:

  • Masks are disabled right now. We need "GraphicsContext" <-> "Image" bridging to
    render into Images directly.(ask Eric Seidel about this)

Text Issues:

  • Per character properties are not supported at all
  • Vertical text is also disabled. Need to have a mechanism to find multiple orientations for fonts
    glyphs, and to determine the correct orientation to use.
  • A number a text styles are not currently supported (baseline-shift, etc)

Filter issues:

  • A number of filters are currently unimplemented
  • Lighting filters are currently non-functional, and can cause crashes
  • Quality of filter output can be low in certain circumstances

General structure:

  • platform/graphics/svg must be moved into ksvg2/<whatever> (maybe "graphics").
  • ksvg2/ must be moved to svg/ (inside WebCore, as it is right now)



Last update: December 9th 2006.