Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
4.6.3, 4.7.0
-
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
- relates to
-
QTBUG-17844 Different point size for the font created using QFont class and returned by QFontDialog
- Closed
-
QTBUG-15513 Fonts have different sizes between Qt 4.6.3 & Qt 4.7.1
- Closed
- replaces
-
QTBUG-13011 QFontMetrics on S60 emulator does not return correct values for underlinePos() and lineWidth()
- Closed