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

QCoreGraphicsPaintEngine does not render fonts correctly when printing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.0.0
    • 5.0.0
    • None
    • Mac OSX Lion.
    • b625ff4c7b68505b6d299d688734c9c1d448cb80

    Description

      Run the examples/richtext/textedit/textedit.app then try to print. The resulting printouts are rendered completely wrong. This is not an issue on Linux, Windows is untested.

      If you print to a physical printer, or print and save as PDF via the inbuilt Mac PDF option, i.e. if QPrinter uses NativeFormat and QMacPrintEngine, then all the the glyphs are not spaced correctly and overprinted on each other. Example attached as PrintPdfViaMac.pdf.

      If you Export as PDF, i.e. if QPrinter uses PdfFormat and QPdfPrintEngine, then the glyphs are very small and spaced too far apart. Example attached as ExportPdf.pdf.

      I'm guessing this is an issue in the paint engine, but it could be in the font handling. I doubt it is in textedit as Linux works fine.

      This is probably a blocker for Beta 1.

      Attachments

        1. ExportPdf.pdf
          617 kB
        2. PrintPdfViaMac.pdf
          65 kB
        3. testfix2.pdf
          633 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
              johnlayt John Layt
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes