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

QtPdf QML component poor document rendering resolution

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.4.2, 6.8.2
    • PDF
    • None
    • Tested on 14" MacBook Pro M1Max on latest macOS and Ubuntu Desktop 24.04 LTS with 32" 4K monitor. Likely exists on other platforms too, at least with high DPI displays.
    • Linux/X11, macOS

    Description

      When using PdfMultiPageView QML component and calling scaleToPage(width, height) method the resulting rendering quality is poor because the image has been rendered at low resolution and then scaled up instead of re-rendering at the new scale. This makes the document almost unreadable.

       

      Also adjusting the zoom through pinch zooming doesn't re-render the page, instead it just performs regular picture scaling. Meaning that zooming in even a little makes the PDF display quality poor.

       

      Example images of the scaleToPage() results attached.

      Attachments

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

        Activity

          People

            srutledg Shawn Rutledge
            jlaako Jussi Laako
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes