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

Gradients don't render as expected when writing to PDF

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.12.3
    • Fix Version/s: None
    • Labels:
      None

      Description

      Gradients do not paint correctly to PDF.   See attached script, which paints the same 2 boxes - one with gradient and one without - to a PNG and to a PDF file.   In the PNG, both boxes get drawn as expected, but in the PDF, only the box that has no gradient is drawn.

        Attachments

        1. grandientPDF.py
          1 kB
        2. out.pdf
          2 kB
        3. out.png
          out.png
          2 kB
        4. Screen Shot 2021-06-03 at 5.24.46 PM.png
          Screen Shot 2021-06-03 at 5.24.46 PM.png
          530 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            vgt Eirik Aavitsland
            Reporter:
            matvey Matvey Adzhigirey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes