test: Remove QSKIP from tst_QPainter::drawText_subPixelPositionsInRaster_qtbug5053()
Change-Id: I1aa329323767a3e849beca8fe41e39dbe98de4ee Reviewed-by: Caroline Chao <caroline.chao@digia.com>
This commit is contained in:
parent
792eb1029d
commit
fd7b3ffe5c
@ -231,7 +231,9 @@ private slots:
|
|||||||
void drawRect_task215378();
|
void drawRect_task215378();
|
||||||
void drawRect_task247505();
|
void drawRect_task247505();
|
||||||
|
|
||||||
|
#if defined(Q_OS_MAC)
|
||||||
void drawText_subPixelPositionsInRaster_qtbug5053();
|
void drawText_subPixelPositionsInRaster_qtbug5053();
|
||||||
|
#endif
|
||||||
|
|
||||||
void drawImage_data();
|
void drawImage_data();
|
||||||
void drawImage();
|
void drawImage();
|
||||||
@ -4178,11 +4180,10 @@ void tst_QPainter::clipBoundingRect()
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(Q_OS_MAC)
|
||||||
|
// Only Mac supports sub pixel positions in raster engine currently
|
||||||
void tst_QPainter::drawText_subPixelPositionsInRaster_qtbug5053()
|
void tst_QPainter::drawText_subPixelPositionsInRaster_qtbug5053()
|
||||||
{
|
{
|
||||||
#if !defined(Q_OS_MAC)
|
|
||||||
QSKIP("Only Mac supports sub pixel positions in raster engine currently");
|
|
||||||
#endif
|
|
||||||
QFontMetricsF fm(qApp->font());
|
QFontMetricsF fm(qApp->font());
|
||||||
|
|
||||||
QImage baseLine(fm.width(QChar::fromLatin1('e')), fm.height(), QImage::Format_RGB32);
|
QImage baseLine(fm.width(QChar::fromLatin1('e')), fm.height(), QImage::Format_RGB32);
|
||||||
@ -4212,6 +4213,7 @@ void tst_QPainter::drawText_subPixelPositionsInRaster_qtbug5053()
|
|||||||
|
|
||||||
QVERIFY(foundDifferentRasterization);
|
QVERIFY(foundDifferentRasterization);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
void tst_QPainter::drawPointScaled()
|
void tst_QPainter::drawPointScaled()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user