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

QPDFDocument renders pdf text with wrong character spacing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.6.3
    • PDF
    • Windows

    Description

      When rendering a PDF document extra spaces or wrong spacing is used between certain characters. From what I could see it doesn't happen with all the documents, only with specific ones.

      The document looks ok when opened in another pdf viewer. Belowe you can see some examples. I tried all the rendering flags, I also tried changing the resolution, but nothing seems to work. 

      The issue is visible also in the PDF Viewer example from QtCreator. 

      I attached also an example of a pdf with which it reproduces. 

       

      Attachments

        1. Windows 11 6.7.2 2024-09-16.png
          540 kB
          Shawn Rutledge
        2. Windows 11 6.6.1 2024-09-16.png
          413 kB
          Shawn Rutledge
        3. screenshot-1.png
          2.80 MB
          Shawn Rutledge
        4. macos-6.7.2.png
          1.31 MB
          Shawn Rutledge
        5. image-2024-09-12-16-50-30-913.png
          2.62 MB
          Shawn Rutledge
        6. image-2024-09-12-16-29-04-713.png
          3.38 MB
          Shawn Rutledge
        7. image-2024-09-12-15-03-41-565.png
          350 kB
          Shawn Rutledge
        8. image-2024-09-12-14-54-03-207.png
          1.16 MB
          Shawn Rutledge
        9. image-2024-09-12-14-47-57-591.png
          1.03 MB
          Shawn Rutledge
        10. image-2024-07-30-12-03-07-466.png
          467 kB
          Andrei Ciorba
        11. DE33699686020096614780_96614780_2023_5_20231121_20231121.pdf
          45 kB
          Andrei Ciorba
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            srutledg Shawn Rutledge
            andreic Andrei Ciorba
            Votes:
            6 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes