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

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

XMLWordPrintable

    • a4478b28966c5f630ba3d93b97bc91a3cec2fdbe

      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.

        1. TextRendering.zip
          5 kB
        2. text4.8.4.pdf
          5 kB
        3. text5.02.pdf
          5 kB
        4. qtbug30875.tar
          10 kB
        5. qtbug30875_485_vs_511.png
          qtbug30875_485_vs_511.png
          22 kB
        6. texteditqt4.pdf
          33 kB
        7. texteditqt5.pdf
          33 kB
        8. TextRendering_Tahoma.PNG
          TextRendering_Tahoma.PNG
          31 kB
        For Gerrit Dashboard: QTBUG-30875
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes