From ddfd45c1be13f695b106f10af7a4d0bc66059df6 Mon Sep 17 00:00:00 2001 From: Jiang Jiang Date: Mon, 23 May 2011 14:25:53 +0200 Subject: Revert the revert of subpixel positions interpretation for text So that text rendering with raster engine on Mac can be the same as with native engine. Reviewed-by: Eskil --- src/gui/painting/qpaintengine_raster.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/gui/painting/qpaintengine_raster.cpp b/src/gui/painting/qpaintengine_raster.cpp index 7dda940..592bf12 100644 --- a/src/gui/painting/qpaintengine_raster.cpp +++ b/src/gui/painting/qpaintengine_raster.cpp @@ -2880,7 +2880,6 @@ bool QRasterPaintEngine::drawCachedGlyphs(int numGlyphs, const glyph_t *glyphs, rightShift = 3; // divide by 8 int margin = cache->glyphMargin(); - const QFixed offs = QFixed::fromReal(aliasedCoordinateDelta); const uchar *bits = image.bits(); for (int i=0; i