Changeset 651 for trunk/src/gui/painting/qpaintengine_raster.cpp
- Timestamp:
- Mar 8, 2010, 12:52:58 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.6.2 (added) merged: 650 /branches/vendor/nokia/qt/current merged: 649 /branches/vendor/nokia/qt/4.6.1 removed
- Property svn:mergeinfo changed
-
trunk/src/gui/painting/qpaintengine_raster.cpp
r561 r651 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 20 09Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation (qt-info@nokia.com) … … 3082 3082 QTransform matrix = s->matrix; 3083 3083 matrix.translate(p.x(), p.y()); 3084 if (matrix.type() == QTransform::TxScale) 3085 fe->setFontScale(matrix.m11()); 3084 3086 ti.fontEngine->getGlyphPositions(ti.glyphs, matrix, ti.flags, glyphs, positions); 3085 3087 … … 3097 3099 alphaPenBlt(glyphBitmapBytes, glyphBitmapSize.iWidth, 8, x, y, glyphBitmapSize.iWidth, glyphBitmapSize.iHeight); 3098 3100 } 3101 3102 if (matrix.type() == QTransform::TxScale) 3103 fe->setFontScale(1.0); 3099 3104 3100 3105 return; … … 3270 3275 3271 3276 #elif defined (Q_OS_SYMBIAN) && defined(QT_NO_FREETYPE) // Q_WS_WIN || Q_WS_MAC 3272 if (s->matrix.type() <= QTransform::TxTranslate) { 3277 if (s->matrix.type() <= QTransform::TxTranslate 3278 || (s->matrix.type() == QTransform::TxScale 3279 && (qFuzzyCompare(s->matrix.m11(), s->matrix.m22())))) { 3273 3280 drawGlyphsS60(p, ti); 3274 3281 return;
Note:
See TracChangeset
for help on using the changeset viewer.