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

QPainter not rendering font strikeout properly in Symbian Wk28 (Qt4.7.0) baseline

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 4.7.2
    • 4.6.3, 4.7.0
    • GUI: Font handling
    • None
    • Symbian Wk28 (Qt 4.7.0 libraries) baseline
    • c4ef479906f073fa84999eb950f00e264ebd4e8e

    Description

      HI,

      I am running the following code in the QWidget's paintEvent() method in Symbian_Wk28 (Qt 4.7.0) baseline:

      void MainWindow::paintEvent(QPaintEvent *event)
      {
      QPainter myPainter(this);
      myPainter.setPen(Qt::blue);
      QFont myFont("Arial", 30);
      myFont.setStrikeOut(true);
      myPainter.setFont(myFont);
      myPainter.drawText(0, 60, QString::fromLatin1("Qt"));
      myFont.setPointSize(100);
      myPainter.setFont(myFont);
      myPainter.drawText(0, 170, QString::fromLatin1("Qt"));
      return;
      }

      I found that the height of the (size) strikethrough line is not changing with the text size change. But in Qt Windows, I can see the changes in the height(size) of strikethrough line when iam changing the text size by using "setPointSize()" method. Please refer to the screen shots attached with this mail for getting visual understanding of this issue.

      I will be thankful to you if you can provide fix for this issue.

      Thanks & Regards,
      BalaSubrahmanyam Varanasi.

      Attachments

        Issue Links

          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:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes