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

[REG 5.13->5.14] SVG with viewBox not in (0,0) is not rendered

    XMLWordPrintable

Details

    • All
    • c3ba57620c2c40d285004af2e1809e581e6bb7e7 (qt/qtsvg/5.14.0)

    Description

      SVG file containing view box not in (0,0) is not rendered correctly. In my particular case image becomes invisible. This happened because of incorrect translate.

      Bug introduced by commit https://code.qt.io/cgit/qt/qtsvg.git/commit/?h=5.14&id=14fa4591eb34a35cf3d485fd901e3f1e2caa7770

      SVG file and sample program reproducing this bug are attached. Also I attached a patch with "quick and dirty" fix of it.

      Any branch above 5.13 (but not including) is affected.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-78200
          # Subject Branch Project Status CR V

          Activity

            People

              vgt Eirik Aavitsland
              nick-korotysh Nick Korotysh
              Votes:
              3 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes