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

REG: Rendering to pdf causes incorrect spacing between the letters and other problems

    XMLWordPrintable

Details

    • a4478b28966c5f630ba3d93b97bc91a3cec2fdbe

    Description

      This bug does not exist in Qt 4.8.4, it appears to have been introduced in Qt 5.

      I have text rendered into a QGraphicsScene. When I go to render it to pdf, the spacing between the letters is extremely wrong.

      I have also observed this when rendering the text directly using the QPainter call but that's harder to demonstrate.

      I've attached a small program that demonstrates the issue and the two pdfs generated in 4.8.4 and 5.02.

      Attachments

        1. qtbug30875_485_vs_511.png
          qtbug30875_485_vs_511.png
          22 kB
        2. qtbug30875.tar
          10 kB
        3. text4.8.4.pdf
          5 kB
        4. text5.02.pdf
          5 kB
        5. texteditqt4.pdf
          33 kB
        6. texteditqt5.pdf
          33 kB
        7. TextRendering_Tahoma.PNG
          TextRendering_Tahoma.PNG
          31 kB
        8. TextRendering.zip
          5 kB

        Issue Links

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

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              eabbottbrenner Eric Abbott-Brenner
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes