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

Assert while trying to load SVG

    XMLWordPrintable

Details

    • Windows
    • 004189b2d8e751021f26d9eb28948f753ea8208c (qt/qtbase/dev) a474d8a9be11f840c26d8a12586b9d11b6027015 (qt/qtbase/6.1) 8eeae7ae073ddd71a9210c0d3d1edaa6c199f509 (qt/qtbase/6.0)

    Description

      While trying to load the attached SVG, an assert is triggered in qrasterizer.cpp:101 : "coverage >= 0 && coverage <= 255"

      This file seems to be okay on every software I've been able to check it on, but I'm open to any suggestion if something should absolutely not be done in an SVG to be rendered with Qt.

      If it can be of any help, I'm loading it in the QPixmap ctor (eg. someExamplePixmap(":/path/to/file") ) and the file is loaded from a resource (qrc) file.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              allan.jensen Allan Sandfeld Jensen
              pierre31 Pierre
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes