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

Loss of quality when using QImage for text rendering

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 4.7.3
    • GUI: Painting
    • None
    • Symbian Wk_25

    Description

      Hi,

      Our team is rendering text on QImage but found that the text is not legible when used with small font sizes. We observed that rendering directly onto a Widget in the paint event results in much better quality, while using the existing approach of rendering text on to a QImage and then putting that QImage on to the screen, results in visible loss of quality for text. Please see the attached screenshot (TextRenderingIssue_Emulator_wk25.JPG) to understand this issue.

      The "Hell World" text on the left side of the screenshot is rendered using QImage, where as the right side "Hello World" text is rendered directly on a widget inside a paint event. Please find attached sample application (TextRenderingOnQImageTestApp.zip file) to reproduce this issue on your side.

      Can Qt suggest remedy for this visible loss of quality?

      Thanks & Regards,
      BalaSubrahmanyam Varanasi

      Attachments

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

        Activity

          People

            portale Alessandro Portale
            baluvaranasi BalaSubrahmanyam Varanasi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes