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

Scaling problem when printing QPainterPath to PDF documents

XMLWordPrintable

      Painting to a pdf-document using QPrinter seems to have a scaling problem on the QPainterPath.
      The result is dependant on the resolution set in QPrinter. This works fine when painting an image using QImage.

      Please refer to the attached sample and output pdf and image files to see the difference in the results.

        1. out_20210301_173627.pdf
          19 kB
        2. out_20210301_173627.png
          out_20210301_173627.png
          16 kB
        3. qtbug91463.zip
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            vgt Eirik Aavitsland
            shmittal Shveta Mittal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes