Ignore:
Timestamp:
Mar 8, 2010, 12:52:58 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.2 sources.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/gui/painting/qpaintengine_raster.cpp

    r561 r651  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    30823082    QTransform matrix = s->matrix;
    30833083    matrix.translate(p.x(), p.y());
     3084    if (matrix.type() == QTransform::TxScale)
     3085        fe->setFontScale(matrix.m11());
    30843086    ti.fontEngine->getGlyphPositions(ti.glyphs, matrix, ti.flags, glyphs, positions);
    30853087
     
    30973099        alphaPenBlt(glyphBitmapBytes, glyphBitmapSize.iWidth, 8, x, y, glyphBitmapSize.iWidth, glyphBitmapSize.iHeight);
    30983100    }
     3101
     3102    if (matrix.type() == QTransform::TxScale)
     3103        fe->setFontScale(1.0);
    30993104
    31003105    return;
     
    32703275
    32713276#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())))) {
    32733280        drawGlyphsS60(p, ti);
    32743281        return;
Note: See TracChangeset for help on using the changeset viewer.