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

QPrintPreviewWidget shows strange overpainted characters when previewing QWebPage contents

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 4.7.2
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Linux, Windows XP

      Description

      Some unicode characters make QPrintPreviewWidget produce strange "overpainted" characters when QWebPage is used to print on it. (The same text works fine with QTextDocument and QWebView also renders the text correctly.)
      The bug also appears in print-preview in konqueror/webkit-mode.

      See the attached screenshot and the testcase.

        Attachments

        1. object.h
          0.6 kB
        2. printReviewProblem.png
          printReviewProblem.png
          78 kB
        3. screenshot.png
          screenshot.png
          260 kB
        4. test.cpp
          2 kB
        5. test.pro
          0.1 kB

          Issue Links

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

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              elrohir Timo Schlüßler
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes