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

QPrintPreviewDialog preview text is low quality on some displays

    XMLWordPrintable

Details

    • Windows
    • 5e4487c2d9c72c54269db5fe8f333c75479ccb5f (qt/qtwebengine/5.13)

    Description

      QPrintPreviewDialog print preview has very blurry and at worst unclear text even at 100% zoom level. This occurs even when the source looks clear on the same display.

      The drop in text quality seems to be dependent on display. See the attached images of loaded webpage and its printpreview on two different displays.

      Poor text quality:

      "\\.\DISPLAY3" Depth: 32 Primary: no
      Geometry: 1600x1200+3840+246 Available: 1600x1160+3840+246
      Virtual geometry: 8000x2160-2560+0 Available: 8000x2080-2560+0
      3 virtual siblings
      Physical size: 410x310 mm Refresh: 60 Hz Power state: 0
      Physical DPI: 99.122,98.3226 Logical DPI: 96,96 Subpixel_None
      DevicePixelRatio: 1 Pixel density: 1
      Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0

      Good text quality:
      "\\.\DISPLAY1" Depth: 32 Primary: yes
      Geometry: 3840x2160+0+0 Available: 3840x2080+0+0
      Virtual geometry: 8000x2160-2560+0 Available: 8000x2080-2560+0
      3 virtual siblings
      Physical size: 527x296 mm Refresh: 59 Hz Power state: 0
      Physical DPI: 185.078,185.351 Logical DPI: 192,192 Subpixel_None
      DevicePixelRatio: 1 Pixel density: 2
      Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0

      Steps to reproduce:

      1. Run the attached project (based on Qt printme example)
      2. Hit CTRL + P to open
      3. Change zoom level to 100%

       

      Attachments

        1. a4-landscape-example.pdf
          1.40 MB
        2. a4-landscape-example-miklocek.pdf
          427 kB
        3. a4-portrait-index.pdf
          4.99 MB
        4. a4-portrait-index-miklocek.pdf
          4.09 MB
        5. print-margins.html
          8 kB
        6. qtbug78161_blurry.PNG
          qtbug78161_blurry.PNG
          44 kB
        7. qtbug78161_normal.PNG
          qtbug78161_normal.PNG
          120 kB
        8. qtbug78161.zip
          1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            michal Michal Klocek
            miikapernu Miika Pernu
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes