diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2010-09-14 07:21:40 (GMT) |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2010-09-14 07:27:55 (GMT) |
commit | 9df51abfffddadd49402d53d1db4008a90cbac3c (patch) | |
tree | 054b1d9d6d7ce86e7d632274eb601bd5f0096957 /tests/auto/qpainter | |
parent | 2e5a459cc5e3a302274db69172603ed8fb346420 (diff) | |
download | Qt-9df51abfffddadd49402d53d1db4008a90cbac3c.zip Qt-9df51abfffddadd49402d53d1db4008a90cbac3c.tar.gz Qt-9df51abfffddadd49402d53d1db4008a90cbac3c.tar.bz2 |
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
Diffstat (limited to 'tests/auto/qpainter')
-rw-r--r-- | tests/auto/qpainter/tst_qpainter.cpp | 4 |
1 files 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()); |