From 9df51abfffddadd49402d53d1db4008a90cbac3c Mon Sep 17 00:00:00 2001 From: Eskil Abrahamsen Blomfeldt Date: Tue, 14 Sep 2010 09:21:40 +0200 Subject: Fix QPainter test failure on Mac/Carbon ATSUI font engine has not been fixed to support sub pixel positioning with the raster engine. Reviewed-by: Jiang Jiang --- tests/auto/qpainter/tst_qpainter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/auto/qpainter/tst_qpainter.cpp b/tests/auto/qpainter/tst_qpainter.cpp index 06de16a..3efc54d 100644 --- a/tests/auto/qpainter/tst_qpainter.cpp +++ b/tests/auto/qpainter/tst_qpainter.cpp @@ -4566,8 +4566,8 @@ void tst_QPainter::clipBoundingRect() void tst_QPainter::drawText_subPixelPositionsInRaster_qtbug5053() { -#if !defined(Q_WS_MAC) - QSKIP("Only mac supports sub pixel positions currently", SkipAll); +#if !defined(Q_WS_MAC) || !defined(Q_MAC_USE_COCOA) + QSKIP("Only Mac/Cocoa supports sub pixel positions in raster engine currently", SkipAll); #endif QFontMetricsF fm(qApp->font()); -- cgit v0.12