Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-7742

Qt SVG does not evaluate implicit lineto in path. Only explicit lineto is evaluated

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P1: Critical
    • 4.6.0
    • 4.5.3
    • SVG Support
    • None
    • openSUSE 11.2, Qt 4.5.3

    Description

      Sometimes inkscape writes SVG path with implicit "lineto".

      That is it relies on
      "If a moveto is followed by multiple pairs of coordinates, the subsequent
      pairs are treated as implicit lineto commands."
      http://www.w3.org/TR/SVGTiny12/paths.html#PathDataMovetoCommands

      This Qt is not able to handle !!!
      Nothing is drawn. The feature is already in the tiny standard.

      If i insert explicit lineto statements it works.

      See the attached SVG files for testing.

      For more information see our discussion at:
      http://tech.groups.yahoo.com/group/pvbrowser/message/648

      PS: This problem is also visible in konqueror
      In firefox and inkscape it works.

      Attachments

        1. test1.svg
          204 kB
          pvbrowser
        2. test1-path4113-fixed.svg
          204 kB
          pvbrowser
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            admin Administrator
            pvbrowser pvbrowser
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes