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

SVG not rendered properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 5.13.1, 5.13.2, 5.14.1
    • SVG Support
    • None
    • Most of the time, I use an up to date Debian Buster. The last time I saw the bug
    • Linux/X11, macOS

      The following image from Wikipedia is not rendered properly. The gradient is a square "cut" by something like a mask when displayed in a browser for example. Using Qt, the "cutting" does not happen and the whole square appears over almost all the other elements.

       

      Something close, if not identical to this :

       

       

      Very few lines of code based on QSvgRenderer and QSvgGenerator, or a QPainter over a QImage saved as a PNG, can show the problem (I don't have such an example ready right now).

      I used this version instead, and it is rendered properly.

       

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

            Unassigned Unassigned
            christohe_beugnet Christophe Beugnet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes