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

QtSvg ignores units

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • 6.9.2, 6.10.0 Beta3
    • 6.8
    • SVG Support
    • None
    • 21
    • cc9cec538 (dev), 3fd77fd63 (6.9)
    • Foundation Sprint 110, Foundation Sprint 111, Foundation Sprint 112, Foundation Sprint 113, Foundation Sprint 114, Foundation Sprint 115, Foundation Sprint 116, Foundation Sprint 117, Foundation Sprint 118, Foundation Sprint 119, Foundation Sprint 120

      QtSvg ignores units as described by SVG 1.1 Tiny: https://www.w3.org/TR/SVGTiny12/coords.html#Units

      How this is attempted to be handled in the parser is also pretty messy and should be refactored.

      This is a bug that was discovered in a users svg:
      https://github.com/linuxdeepin/deepin-icon-theme/blob/master/bloom/apps/96/deepin-image-viewer.svg
      https://github.com/linuxdeepin/deepin-icon-theme/blob/master/bloom/apps/96/deepin-screen-recorder.svg

      Systematic test graphics are appended.

        1. coordinates.svg
          3 kB
          Matthias Rauter
        2. gradients_with_percent.svg
          0.5 kB
          Matthias Rauter
        For Gerrit Dashboard: QTBUG-126482
        # Subject Branch Project Status CR V

            hatemelkharashy Hatem ElKharashy
            matthias_rauter Matthias Rauter
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes