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

PDF: When rendering a widget to PDF it is not taking into consideration the resolution of the PDF

    XMLWordPrintable

Details

    Description

      QPDF: When rendering a widget to PDF it is not taking into consideration the resolution of the PDF. It assumes that the resolution is the resolution of the screen and not the device it is rendering to which means that it is not scaled at the right size.

      When text is drawn for instance directly then it is correct. An example attached creates two PDFs at different resolutions, it is expected that they would appear at the same size with regards to the text drawn. When the text is drawn directly then it is rendered at the same size, when the widget is drawn it is not.

      Attachments

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

        Activity

          People

            johnlayt John Layt
            andysh Andy Shaw
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes