Uploaded image for project: 'Batik'
  1. Batik
  2. BATIK-850

[PATCH] startOffset attribute of textPath cannot be animated

Details

    • Bug
    • Status: Open
    • Resolution: Unresolved
    • 1.7
    • None
    • SVG Viewer
    • Operating System: All
      Platform: PC

    Description

      I'm trying to get text to flow along a path, using an animate element to alter the startOffset attribute of the textPath element.

      This does not work. Attached example is a simple textPath from the SVG spec with an animate added.

      Attachments

        1. t4.svg
          0.9 kB
          Richard Evans
        2. textPath-startOffset.patch
          1 kB
          Thomas DeWeese

        Activity

          richard.evans@datanomic.com Richard Evans added a comment -

          Attachment t4.svg has been added with description: text path example

          richard.evans@datanomic.com Richard Evans added a comment - Attachment t4.svg has been added with description: text path example
          deweese@apache.org Thomas DeWeese added a comment -

          The patch is likely only a partial fix for the problem.

          In particular it only catches DOM attribute changes but ignores animated changes. A more complete fix might be as simple as extending the change to the 'handleAnimatedAttributeChanged' method.

          deweese@apache.org Thomas DeWeese added a comment - The patch is likely only a partial fix for the problem. In particular it only catches DOM attribute changes but ignores animated changes. A more complete fix might be as simple as extending the change to the 'handleAnimatedAttributeChanged' method.
          deweese@apache.org Thomas DeWeese added a comment -

          Attachment textPath-startOffset.patch has been added with description: Possible Patch from Sebastian

          deweese@apache.org Thomas DeWeese added a comment - Attachment textPath-startOffset.patch has been added with description: Possible Patch from Sebastian

          People

            batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
            richard.evans@datanomic.com Richard Evans
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: