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

Export to PDF rasterizes SVG gradients

XMLWordPrintable

    • c52bcf733742837f7fbeedbb788c3c9285a24bb6

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes