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

Export to PDF rasterizes SVG gradients

    XMLWordPrintable

Details

    • c52bcf733742837f7fbeedbb788c3c9285a24bb6

    Description

      When rendering SVG to PDF using QPrinter, gradients in SVG are rasterized instead of retained in vector form.

      Steps to reproduce:
      Build and run the attached project.
      Open generated PDF in Acrobat Reader and notice the rounded rectangles are both in bitmap instead of vector.

      Attachments

        1. Screen Shot 2015-03-10 at 5.10.44 PM.png
          148 kB
          Stephen Chu
        2. Screen Shot 2015-03-11 at 7.11.19 PM.png
          113 kB
          Stephen Chu
        3. svgTest.zip
          2 kB
          Antti Yli-Tokola
        4. test.pdf
          10 kB
          Stephen Chu
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            laknoll Lars Knoll
            anylitok Antti Yli-Tokola (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes